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