rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / print / hal-cups-utils / Makefile
blob92a83c3fc4f1a305554798bdaaa39eb5ae232df2
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
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= hal-cups-utils
28 COMPONENT_VERSION= 0.6.19
29 COMPONENT_REVISION= 2
30 COMPONENT_SUMMARY= the HAL automatic queue creation plugin module for CUPS
31 COMPONENT_DESCRIPTION= hal-cups-utils is a Hardware Abstraction Layer (HAL) plugin module that automatically creates print queues under the Common UNIX Printing System (CUPS) for printers detected by HAL.
32 COMPONENT_PROJECT_URL= http://fedorahosted.org/hal-cups-utils/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= sha256:f40a7ebd1453d471a8a6bfd8c635708dd739a6160bb661813f936d936ba85618
36 COMPONENT_ARCHIVE_URL= ftp://ftp.slackware.org.uk/gsb/gsb-2.28_slackware-13.1/source/l/hal-cups-utils/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= print/cups/hal-cups-utils
38 COMPONENT_CLASSIFICATION= System/Printing
39 COMPONENT_LICENSE= CUPS License
40 COMPONENT_LICENSE_FILE= COPYING
42 include $(WS_MAKE_RULES)/common.mk
44 PATCH_LEVEL= 0
45 USED_PYTHON= $(PYTHON)
46 ACLOCAL= /usr/bin/aclocal-1.11
47 AUTOMAKE= /usr/bin/automake-1.11
49 CONFIGURE_ENV += PYTHON=$(USED_PYTHON)
51 CONFIGURE_OPTIONS += --datarootdir=$(ETCDIR)
53 # Since we patch Makefile.am, we have to rebuild the autoconf generated files
54 # Just running automake does not work, since our automake is different from the one
55 # used by hal-cups-utils maintainer
56 COMPONENT_PREP_ACTION = ( \
57 cd $(@D); \
58 ACLOCAL=$(ACLOCAL) AUTOMAKE=$(AUTOMAKE) autoreconf; \
59 cd $(SOURCE_DIR); \
60 $(PERL) -pi -e 's,^\#!.*?python,\#!$(USED_PYTHON), if $$.==1' systemv/hal_lpadmin ; \
64 # Manually added build dependencies
65 PYTHON_REQUIRED_PACKAGES += runtime/python
66 REQUIRED_PACKAGES += developer/build/automake-111
68 # Auto-generated dependencies
69 REQUIRED_PACKAGES += library/print/cups-libs
70 REQUIRED_PACKAGES += service/hal
71 REQUIRED_PACKAGES += system/library
72 REQUIRED_PACKAGES += system/library/libdbus