Makefile revision 4337
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User#
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# CDDL HEADER START
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# You may not use this file except in compliance with the License.
8c225507766814e78e168b17a24b8a47ca7f8c37Tinderbox User#
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# or http://www.opensolaris.org/os/licensing.
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# See the License for the specific language governing permissions
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# and limitations under the License.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If applicable, add the following below this CDDL HEADER, with the
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
f9ce6280cec79deb16ff6d9807aa493ff23e10d9Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
617639b7cc40ba9eb6fde2d98099726d50da812eTinderbox User#
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# CDDL HEADER END
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox User#
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox User
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox Userinclude ../../../make-rules/shared-macros.mk
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_NAME= pycups
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_VERSION= 1.9.46
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_PROJECT_URL= http://cyberelk.net/tim/software/pycups/
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_ARCHIVE_HASH= \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User sha256:74abd1d6b1a5b8a22d2ccf3730000848fcef0b63c6105b178f73ff76e72bc8fe
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_ARCHIVE_URL= http://cyberelk.net/tim/data/pycups/$(COMPONENT_ARCHIVE)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_BUGDB= python-mod/pycups
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntTPNO= 9025
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Fails to compile: not Python 3 ready.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserPYTHON_VERSIONS= 2.7 2.6
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinclude $(WS_MAKE_RULES)/prep.mk
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude $(WS_MAKE_RULES)/setup.py.mk
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox Userinclude $(WS_MAKE_RULES)/ips.mk
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User# pycups requires VERSION to be defined. Originally set in the package Makefile
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox UserCFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox UserASLR_MODE = $(ASLR_NOT_APPLICABLE)
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox UserCOMPONENT_TEST_ARGS= test.py
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox UserCOMPONENT_TEST_DIR= $(COMPONENT_SRC)
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox User
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox User# common targets
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox Userbuild: $(BUILD_32_and_64)
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox User
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox Userinstall: $(INSTALL_32_and_64)
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox User
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox Usertest: $(TEST_32_and_64)
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox Usersystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox UserREQUIRED_PACKAGES += library/print/cups-libs
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox UserREQUIRED_PACKAGES += print/cups
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox UserREQUIRED_PACKAGES += system/library
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User