author | Yiteng Zhang <yiteng.zhang@oracle.com> |
Tue, 04 Oct 2016 11:04:14 -0700 | |
branch | s11u3-sru |
changeset 7033 | a49f9f0272f2 |
parent 3996 | 20c0f21bbe1e |
permissions | -rw-r--r-- |
2557
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
23 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2557
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= pbzip2 |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.1.6 |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://compression.ca/pbzip2/ |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
sha256:86bd6d58e5a6c13cf8c709620ebfe186fca423c2724225bb30431fa7a453aee2 |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE) |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/pbzip2 |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2557
diff
changeset
|
38 |
TPNO= 11059 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2557
diff
changeset
|
39 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/justmake.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
2557
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
# pbzip2 Solaris Sun Studio build uses a non-standard Makefile |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_BUILD_ARGS += CC="$(CXX)" |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
COMPONENT_BUILD_ARGS += -f Makefile.solaris.sunstudio |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
COMPONENT_INSTALL_ARGS += -f Makefile.solaris.sunstudio |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR) |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
# common targets |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
build: $(BUILD_64) |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
install: $(INSTALL_64) |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
|
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
test: $(NO_TESTS) |
b52f689e05e2
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
57 |
REQUIRED_PACKAGES += compress/bzip2 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
58 |
REQUIRED_PACKAGES += system/library |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
59 |
REQUIRED_PACKAGES += system/library/c++-runtime |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3661
diff
changeset
|
60 |
REQUIRED_PACKAGES += system/library/math |