Makefile revision 844
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# CDDL HEADER START
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# The contents of this file are subject to the terms of the
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# Common Development and Distribution License (the "License").
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# You may not use this file except in compliance with the License.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# or http://www.opensolaris.org/os/licensing.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# See the License for the specific language governing permissions
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# and limitations under the License.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# When distributing Covered Code, include this CDDL HEADER in each
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# If applicable, add the following below this CDDL HEADER, with the
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# fields enclosed by brackets "[]" replaced with your own identifying
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# information: Portions Copyright [yyyy] [name of copyright owner]
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# CDDL HEADER END
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinekinclude ../../../make-rules/shared-macros.mk
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_NAME= foomatic-db
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_VERSION= 20080903
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_ARCHIVE_HASH= \
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek sha256:a404d1243a313259490a6a29238498c438b6e8638dafeb980ab98de347957414
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_PROJECT_URL= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinekinclude ../../../make-rules/prep.mk
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinekinclude ../../../make-rules/configure.mk
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinekinclude ../../../make-rules/ips.mk
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# One file is not gzipped; fix it
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekCOMPONENT_POST_INSTALL_ACTION = \
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek gzip -c $(SOURCE_DIR)/db/source/PPD/Oce/Others/IM8530_1.PPD \
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek > $(PROTO_DIR)/usr/share/foomatic/db/source/PPD/Oce/Others/IM8530_1.ppd.gz
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# common targets
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinekbuild: $(BUILD_32)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinekinstall: $(INSTALL_32)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinektest: $(NO_TESTS)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry JelinekBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../../make-rules/depend.mk