Makefile revision 6920
409N/A#
409N/A# CDDL HEADER START
409N/A#
409N/A# The contents of this file are subject to the terms of the
409N/A# Common Development and Distribution License (the "License").
409N/A# You may not use this file except in compliance with the License.
409N/A#
409N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
409N/A# or http://www.opensolaris.org/os/licensing.
409N/A# See the License for the specific language governing permissions
409N/A# and limitations under the License.
409N/A#
409N/A# When distributing Covered Code, include this CDDL HEADER in each
409N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
409N/A# If applicable, add the following below this CDDL HEADER, with the
409N/A# fields enclosed by brackets "[]" replaced with your own identifying
409N/A# information: Portions Copyright [yyyy] [name of copyright owner]
409N/A#
409N/A# CDDL HEADER END
409N/A#
409N/A
409N/A#
844N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
409N/A#
409N/ABUILD_BITS= 32
409N/Ainclude ../../make-rules/shared-macros.mk
409N/A
409N/ACOMPONENT_NAME= hal-cups-utils
409N/ACOMPONENT_VERSION= 0.6.19
409N/ACOMPONENT_PROJECT_URL= http://fedorahosted.org/hal-cups-utils/
409N/ACOMPONENT_ARCHIVE_HASH= \
409N/A sha256:f40a7ebd1453d471a8a6bfd8c635708dd739a6160bb661813f936d936ba85618
844N/ACOMPONENT_ARCHIVE_URL= http://fedorahosted.org/releases/h/a/hal-cups-utils/$(COMPONENT_ARCHIVE)
844N/ACOMPONENT_BUGDB= utility/hal-cups
409N/A
1258N/ATPNO= 8957
409N/A
409N/ATEST_TARGET= $(NO_TESTS)
409N/Ainclude $(WS_MAKE_RULES)/common.mk
409N/A
409N/APATCH_LEVEL = 0
409N/AUSED_PYTHON=$(PYTHON.2.6.32)
409N/A
409N/ACONFIGURE_ENV += PYTHON=$(USED_PYTHON)
409N/A
409N/ACONFIGURE_OPTIONS += --datarootdir=$(ETCDIR)
409N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/hal
409N/A
409N/A# Since we patch Makefile.am, we have to rebuild the autoconf generated files
409N/A# Just running automake does not work, since our automake is different from the one
409N/A# used by hal-cups-utils maintainer
409N/ACOMPONENT_PREP_ACTION = ( \
409N/A cd $(@D); \
409N/A ACLOCAL=aclocal-1.11 AUTOMAKE=aclocal-1.11 autoreconf; \
409N/A cd $(SOURCE_DIR); \
409N/A $(PERL) -pi -e 's,^\#!.*?python,\#!$(USED_PYTHON), if $$.==1' systemv/hal_lpadmin ; \
409N/A)
409N/A
409N/A# ASLR disabled until sufficient testing can be performed.
409N/AASLR_MODE= $(ASLR_DISABLE)
409N/A
409N/AREQUIRED_PACKAGES += developer/build/automake-111
409N/AREQUIRED_PACKAGES += library/print/cups-libs
409N/AREQUIRED_PACKAGES += print/cups
409N/AREQUIRED_PACKAGES += system/hal
409N/AREQUIRED_PACKAGES += system/library/libdbus
409N/A