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