components/foomatic/filters/Makefile
branchs11-sru
changeset 2283 649912414225
parent 335 223d5bf98b72
equal deleted inserted replaced
2282:023bffdeb9c6 2283:649912414225
    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, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		foomatic-filters
    25 COMPONENT_NAME=		foomatic-filters
    26 COMPONENT_VERSION=	3.0.2
    26 COMPONENT_VERSION=	4.0.15
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    29 COMPONENT_ARCHIVE_HASH=	sha1:31528f3bf0e933b7aac745471c31463023b40eec
    29 COMPONENT_ARCHIVE_HASH=	\
    30 COMPONENT_ARCHIVE_URL=	$(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE)
    30     sha256:f5b7b67aacedec4c0294d242cbffbe0d7d3cd0fdd2b410c055e818f25ed3bc79
    31 COMPONENT_PROJECT_URL=	http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic
    31 COMPONENT_ARCHIVE_URL=	http://www.openprinting.org/download/foomatic/$(COMPONENT_ARCHIVE)
       
    32 COMPONENT_PROJECT_URL=	http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
    32 
    33 
    33 include ../../../make-rules/prep.mk
    34 include ../../../make-rules/prep.mk
    34 include ../../../make-rules/configure.mk
    35 include ../../../make-rules/configure.mk
    35 include ../../../make-rules/ips.mk
    36 include ../../../make-rules/ips.mk
    36 
    37 
    37 CONFIGURE_OPTIONS +=	--prefix=$(USRLIBDIR)/lp
    38 CONFIGURE_OPTIONS +=	--prefix=$(USRLIBDIR)/lp
    38 CONFIGURE_OPTIONS +=	--sysconfdir=/$(ETCDIR)/gnu
    39 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/gnu
    39 CONFIGURE_OPTIONS +=	--bindir=$(USRLIBDIR)/lp/bin
    40 CONFIGURE_OPTIONS +=	--bindir=$(USRLIBDIR)/lp/bin
    40 CONFIGURE_OPTIONS +=	--with-echo=wecho
    41 CONFIGURE_OPTIONS +=	--with-echo=wecho
    41 CONFIGURE_OPTIONS +=	--with-file-converter="a2ps -1 -q -c -B @@[email protected]@[email protected]@ -o -"
    42 CONFIGURE_OPTIONS +=	--with-file-converter="a2ps -1 -q -c -B @@[email protected]@[email protected]@ -o -"
    42 CONFIGURE_OPTIONS +=	--with-execpath=$(USRLIBDIR)/lp/bin:$(USRBINDIR):$(BINDIR)
    43 CONFIGURE_OPTIONS +=	--with-execpath=$(USRLIBDIR)/lp/bin:$(USRBINDIR):$(BINDIR)
    43 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
    44 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
    44 CONFIGURE_OPTIONS +=	PERL=$(PERL)
    45 CONFIGURE_OPTIONS +=	PERL=$(PERL)
    45 CONFIGURE_OPTIONS +=	A2PS=$(USRBINDIR)/a2ps
    46 CONFIGURE_OPTIONS +=	A2PS=$(USRBINDIR)/a2ps
       
    47 
       
    48 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
    46 
    49 
    47 # common targets
    50 # common targets
    48 build:		$(BUILD_32)
    51 build:		$(BUILD_32)
    49 
    52 
    50 install:	$(INSTALL_32)
    53 install:	$(INSTALL_32)