components/python/lesscpy/Makefile
author John Beck <John.Beck@Oracle.COM>
Sat, 17 Jan 2015 09:17:37 -0800
branchs11-update
changeset 3661 47545fb8aed4
parent 2946 74c77317f502
child 3778 35735ffdda43
permissions -rw-r--r--
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2946
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		lesscpy
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	0.9j
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
    sha256:fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	https://github.com/robotis/Lesscpy
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/lesscpy
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2946
diff changeset
    35
TPNO=			16108
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2946
diff changeset
    36
2946
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
# convert the 'j' in COMPONENT_VERSION to 10
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
IPS_COMPONENT_VERSION = 0.9.10
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
include $(WS_TOP)/make-rules/prep.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
include $(WS_TOP)/make-rules/setup.py.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/ips.mk
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
COMPONENT_POST_INSTALL_ACTION = \
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
         (cd $(PROTO_DIR)/usr/bin ; $(MV) -f lesscpy lesscpy-$(PYTHON_VERSION))
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
# common targets
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
build:		$(BUILD_NO_ARCH)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
install:	$(INSTALL_NO_ARCH)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
test:		$(NO_TESTS)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
74c77317f502 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    58
include $(WS_TOP)/make-rules/depend.mk