rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / foomatic / filters / Makefile
blobc2c6bd978d20824f0e83e178dcce3e7a89af1364
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 include ../../../make-rules/shared-macros.mk
26 COMPONENT_NAME= foomatic-filters
27 COMPONENT_VERSION= 4.0.17
28 COMPONENT_REVISION= 3
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
31 COMPONENT_ARCHIVE_HASH= \
32 sha256:a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3
33 COMPONENT_ARCHIVE_URL= http://www.openprinting.org/download/foomatic/$(COMPONENT_ARCHIVE)
34 COMPONENT_PROJECT_URL= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
36 TEST_TARGET=$(NO_TESTS)
37 include $(WS_MAKE_RULES)/common.mk
39 CONFIGURE_OPTIONS += --prefix=$(USRLIBDIR)/lp
40 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/gnu
41 CONFIGURE_OPTIONS += --bindir=$(USRLIBDIR)/lp/bin
42 CONFIGURE_OPTIONS += --with-echo=wecho
43 CONFIGURE_OPTIONS += --with-file-converter="a2ps -1 -q -c -B @@--medium=@@PAGESIZE@@ -o -"
44 CONFIGURE_OPTIONS += --with-execpath=$(USRLIBDIR)/lp/bin:$(USRBINDIR):$(BINDIR)
45 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
46 CONFIGURE_OPTIONS += A2PS=$(USRBINDIR)/a2ps
48 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += print/filter/a2ps
52 REQUIRED_PACKAGES += runtime/perl
53 REQUIRED_PACKAGES += system/library
54 REQUIRED_PACKAGES += system/library/libdbus
55 REQUIRED_PACKAGES += system/library/math