2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2019 Michal Nowak
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 2.0.0
21 COMPONENT_SUMMARY
= Driver for QPDL
/SPL2 printers
(Samsung and Xerox printers
)
22 COMPONENT_PROJECT_URL
= https
://splix.sourceforge.net
23 COMPONENT_FMRI
= print/splix
24 COMPONENT_CLASSIFICATION
= System
/Printing
25 SVN_HASH
= sha256
:a66084478869b50549456aa931524804f32674836866395c6dbd75a061768458
26 COMPONENT_LICENSE
= GPLv2.0
27 COMPONENT_LICENSE_FILE
= splix-315
/splix
/COPYING
29 SVN_REPO
= https
://svn.code.sf.net
/p
/splix
/code
/
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_BUILD_ENV
= \
39 CXXFLAGS
="$(CXXFLAGS) -fno-strict-aliasing" \
40 rastertoqpdl_CXXFLAGS
="$(CXXFLAGS)" \
41 pstoqpdl_CXXFLAGS
="$(CXXFLAGS)"
43 COMPONENT_PRE_BUILD_ACTION
= \
47 COMPONENT_BUILD_ACTION
= \
48 cd
$(@D
)/splix
; $(ENV
) $(COMPONENT_BUILD_ENV
) \
49 $(GMAKE
) $(COMPONENT_BUILD_ARGS
) V
=1 DISABLE_JBIG
=1
51 COMPONENT_INSTALL_ACTION
= \
53 $(GMAKE
) $(COMPONENT_INSTALL_ARGS
) $(COMPONENT_INSTALL_TARGETS
)
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
57 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
58 REQUIRED_PACKAGES
+= library
/print/cups-libs
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/math