author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Fri, 29 Apr 2016 14:12:36 -0700 | |
changeset 5893 | 2a56e1b60ff1 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
5893
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS= NO_ARCH |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../../make-rules/shared-macros.mk |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= itstool |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_VERSION= 2.0.2 |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://itstool.org/ |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
sha256:bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://files.itstool.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
TPNO= 25891 |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
38 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
TEST_TARGET= $(NO_TESTS) |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/common.mk |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
# pkgdepend complains if it doesn't find a version of python specified |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
# Uses 2.7 as upstream is still working on Python 3 compatibility: |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
# https://github.com/itstool/itstool/pull/3 |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
CONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7)" |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
|
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
REQUIRED_PACKAGES += library/python/libxml2-27 |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
REQUIRED_PACKAGES += runtime/python-27 |
2a56e1b60ff1
23169628 Add itstool 2.0.2 to Solaris [PSARC/2016/234]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
REQUIRED_PACKAGES += text/gawk |