components/foomatic/filters/Makefile
changeset 5682 94c0ca64c022
parent 4339 6501cf9c29f9
child 6721 507a8cb88442
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    21 
    22 #
    22 #
       
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 BUILD_BITS= 32
    23 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    24 
    27 
    25 COMPONENT_NAME=		foomatic-filters
    28 COMPONENT_NAME=		foomatic-filters
    26 COMPONENT_VERSION=	4.0.15
    29 COMPONENT_VERSION=	4.0.15
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    29 COMPONENT_ARCHIVE_HASH=	\
    30 COMPONENT_ARCHIVE_HASH=	\
    30     sha256:f5b7b67aacedec4c0294d242cbffbe0d7d3cd0fdd2b410c055e818f25ed3bc79
    31     sha256:f5b7b67aacedec4c0294d242cbffbe0d7d3cd0fdd2b410c055e818f25ed3bc79
    31 COMPONENT_ARCHIVE_URL=	http://www.openprinting.org/download/foomatic/$(COMPONENT_ARCHIVE)
    32 COMPONENT_ARCHIVE_URL=	http://www.openprinting.org/download/foomatic/$(COMPONENT_ARCHIVE)
    32 COMPONENT_PROJECT_URL=	http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
    33 COMPONENT_PROJECT_URL=	http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
    33 COMPONENT_BUGDB=	utility/foomatic
    34 COMPONENT_BUGDB=	utility/foomatic
    34 
    35 
    35 TPNO=			8420
    36 TPNO=			8420
    36 
    37 
    37 include $(WS_MAKE_RULES)/prep.mk
    38 TEST_TARGET= $(NO_TESTS)
    38 include $(WS_MAKE_RULES)/configure.mk
    39 include $(WS_MAKE_RULES)/common.mk
    39 include $(WS_MAKE_RULES)/ips.mk
    40 
       
    41 CONFIGURE_BINDIR.32= $(USRLIBDIR)/lp/bin
    40 
    42 
    41 CONFIGURE_OPTIONS +=	--prefix=$(USRLIBDIR)/lp
    43 CONFIGURE_OPTIONS +=	--prefix=$(USRLIBDIR)/lp
    42 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/gnu
    44 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/gnu
    43 CONFIGURE_OPTIONS +=	--bindir=$(USRLIBDIR)/lp/bin
       
    44 CONFIGURE_OPTIONS +=	--with-echo=wecho
    45 CONFIGURE_OPTIONS +=	--with-echo=wecho
    45 CONFIGURE_OPTIONS +=	--with-file-converter="a2ps -1 -q -c -B @@--medium=@@PAGESIZE@@ -o -"
    46 CONFIGURE_OPTIONS +=	--with-file-converter="a2ps -1 -q -c -B @@--medium=@@PAGESIZE@@ -o -"
    46 CONFIGURE_OPTIONS +=	--with-execpath=$(USRLIBDIR)/lp/bin:$(USRBINDIR):$(BINDIR)
    47 CONFIGURE_OPTIONS +=	--with-execpath=$(USRLIBDIR)/lp/bin:$(USRBINDIR):$(BINDIR)
    47 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
       
    48 CONFIGURE_OPTIONS +=	PERL=$(PERL)
    48 CONFIGURE_OPTIONS +=	PERL=$(PERL)
    49 CONFIGURE_OPTIONS +=	A2PS=$(USRBINDIR)/a2ps
    49 CONFIGURE_OPTIONS +=	A2PS=$(USRBINDIR)/a2ps
    50 
    50 
    51 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
    51 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
    52 
    52 
    53 # common targets
       
    54 configure:	$(CONFIGURE_32)
       
    55 
       
    56 build:		$(BUILD_32)
       
    57 
       
    58 install:	$(INSTALL_32)
       
    59 
       
    60 test:		$(NO_TESTS)
       
    61 
       
    62 system-test:    $(NO_TESTS)
       
    63 
       
    64 
       
    65 REQUIRED_PACKAGES += print/filter/a2ps
    53 REQUIRED_PACKAGES += print/filter/a2ps
    66 REQUIRED_PACKAGES += system/library
       
    67 REQUIRED_PACKAGES += system/library/libdbus
    54 REQUIRED_PACKAGES += system/library/libdbus
    68 REQUIRED_PACKAGES += system/library/math
    55 REQUIRED_PACKAGES += system/library/math