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