Makefile revision 3477
961N/A#
961N/A# CDDL HEADER START
961N/A#
961N/A# The contents of this file are subject to the terms of the
961N/A# Common Development and Distribution License (the "License").
961N/A# You may not use this file except in compliance with the License.
961N/A#
961N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
961N/A# or http://www.opensolaris.org/os/licensing.
961N/A# See the License for the specific language governing permissions
961N/A# and limitations under the License.
961N/A#
961N/A# When distributing Covered Code, include this CDDL HEADER in each
961N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
961N/A# If applicable, add the following below this CDDL HEADER, with the
961N/A# fields enclosed by brackets "[]" replaced with your own identifying
961N/A# information: Portions Copyright [yyyy] [name of copyright owner]
961N/A#
961N/A# CDDL HEADER END
961N/A
961N/A#
961N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
961N/A#
961N/A
961N/Ainclude ../../make-rules/shared-macros.mk
961N/A
961N/ACOMPONENT_NAME= hal-cups-utils
961N/ACOMPONENT_VERSION= 0.6.19
961N/ACOMPONENT_PROJECT_URL= http://fedorahosted.org/hal-cups-utils/
961N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
961N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
961N/ACOMPONENT_ARCHIVE_HASH= \
961N/A sha256:f40a7ebd1453d471a8a6bfd8c635708dd739a6160bb661813f936d936ba85618
961N/ACOMPONENT_ARCHIVE_URL= http://fedorahosted.org/releases/h/a/hal-cups-utils/$(COMPONENT_ARCHIVE)
961N/ACOMPONENT_BUGDB= utility/hal-cups
961N/A
961N/ATPNO= 8957
961N/A
961N/Ainclude ../../make-rules/prep.mk
961N/Ainclude ../../make-rules/configure.mk
961N/Ainclude ../../make-rules/ips.mk
961N/A
961N/APATCH_LEVEL = 0
961N/AUSED_PYTHON=$(PYTHON.2.6.32)
961N/A
961N/ACONFIGURE_ENV += PYTHON=$(USED_PYTHON)
1878N/A
961N/ACONFIGURE_OPTIONS += --datarootdir=$(ETCDIR)
1878N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/hal
961N/A
961N/A# Since we patch Makefile.am, we have to rebuild the autoconf generated files
1878N/A# Just running automake does not work, since our automake is different from the one
961N/A# used by hal-cups-utils maintainer
961N/ACOMPONENT_PREP_ACTION = ( \
1878N/A cd $(@D); \
961N/A ACLOCAL=$(ACLOCAL) AUTOMAKE=$(AUTOMAKE) autoreconf; \
961N/A cd $(SOURCE_DIR); \
961N/A $(PERL) -pi -e 's,^\#!.*?python,\#!$(USED_PYTHON), if $$.==1' systemv/hal_lpadmin ; \
961N/A)
961N/A
961N/Aconfigure: $(CONFIGURE_32)
961N/A
961N/Abuild: $(BUILD_32)
961N/A
961N/Ainstall: $(INSTALL_32)
961N/A
961N/Atest: $(NO_TESTS)
961N/A
961N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1878N/A
1878N/Ainclude ../../make-rules/depend.mk
1878N/A