Update Time-Piece Perl distribution to 1.35
[oi-userland.git] / components / print / splix / Makefile
blobae9b81ceb0107f6096fefb742d3caf1939f4619f
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
15 BUILD_STYLE= justmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= splix
19 COMPONENT_VERSION= 2.0.0
20 COMPONENT_REVISION= 4
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/
30 SVN_REV= 315
32 TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES)/common.mk
35 PATH= $(PATH.gnu)
37 COMPONENT_BUILD_ENV = \
38 CC=$(CC) CXX=$(CXX) \
39 CXXFLAGS="$(CXXFLAGS) -fno-strict-aliasing" \
40 rastertoqpdl_CXXFLAGS="$(CXXFLAGS)" \
41 pstoqpdl_CXXFLAGS="$(CXXFLAGS)"
43 COMPONENT_PRE_BUILD_ACTION = \
44 cd $(@D)/splix; \
45 $(MV) *.ppd ppd/ ;
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 = \
52 cd $(@D)/splix; \
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