author | Danek Duvall <danek.duvall@oracle.com> |
Fri, 18 Dec 2015 11:03:32 -0800 | |
changeset 5240 | 6c0884f75bd9 |
parent 5228 | b457e3bd2acc |
child 5682 | 94c0ca64c022 |
permissions | -rw-r--r-- |
5228
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
1 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
3 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
7 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
12 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
18 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
20 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
21 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
22 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
24 |
# |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
25 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
26 |
BITS=64 |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
28 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= pkgbuild |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_VERSION= 1.3.105 |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
34 |
sha256:ed32d913af249d4221c2b94450eb4e996747024260c210620e94ac8130bc0fd6 |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/pkgbuild/$(COMPONENT_ARCHIVE) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_PROJECT_URL= http://pkgbuild.sourceforge.net/ |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_BUGDB= utility/pkgbuild |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
38 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
39 |
TPNO= 13159 |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
40 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/prep.mk |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/configure.mk |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
44 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
45 |
# Required due to patches to configure and/or automake files. |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
46 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fi;) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
47 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
48 |
ASLR_MODE = $(ASLR_ENABLE) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
49 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
50 |
CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
51 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
52 |
# common targets |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
53 |
configure: $(CONFIGURE_64) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
54 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
55 |
build: $(BUILD_64) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
56 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
57 |
install: $(INSTALL_64) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
58 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
59 |
test: $(NO_TESTS) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
60 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
61 |
system-test: $(NO_TESTS) |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
62 |
|
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += system/library |
b457e3bd2acc
22386518 Move pkgbuild from Desktop consolidation to Userland
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += runtime/perl-512 |