gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / python / pycups / Makefile
blob7892aae10957f1524f51a1fcf75710a0600bbc53
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
23 include ../../../make-rules/shared-macros.mk
25 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
27 COMPONENT_NAME= pycups
28 COMPONENT_VERSION= 1.9.73
29 COMPONENT_PROJECT_URL= http://cyberelk.net/tim/software/pycups/
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
32 COMPONENT_ARCHIVE_HASH= \
33 sha256:c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335
34 COMPONENT_ARCHIVE_URL= http://cyberelk.net/tim/data/pycups/$(COMPONENT_ARCHIVE)
35 COMPONENT_BUGDB= python-mod/pycups
37 PYTHON_VERSIONS=2.7
39 include $(WS_TOP)/make-rules/prep.mk
40 include $(WS_TOP)/make-rules/setup.py.mk
41 include $(WS_TOP)/make-rules/ips.mk
43 # pycups requires VERSION to be defined. Originally set in the package Makefile
44 CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
46 # common targets
47 build: $(BUILD_32_and_64)
49 install: $(INSTALL_32_and_64)
51 test: $(NO_TESTS)
53 REQUIRED_PACKAGES += library/print/cups-libs
54 REQUIRED_PACKAGES += runtime/python-27
55 REQUIRED_PACKAGES += system/library