2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2018 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= cups-pdf
20 COMPONENT_VERSION
= 3.0.1
22 COMPONENT_SUMMARY
= Virtual printer for CUPS to produce PDF files
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_PROJECT_URL
= https
://www.cups-pdf.de
/
25 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)_
$(COMPONENT_VERSION
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531
27 COMPONENT_ARCHIVE_URL
= https
://www.cups-pdf.de
/src
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= print/cups-pdf
29 COMPONENT_CLASSIFICATION
=System
/Printing
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_PREP_ACTION
= ( cp
$(COMPONENT_DIR
)/files
/Makefile
$(COMPONENT_SRC
) )
38 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
39 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
40 COMPONENT_BUILD_ENV
+= LDFLAGS
="$(LDFLAGS)"
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= library
/print/cups-libs
44 REQUIRED_PACKAGES
+= system
/library