author | Danek Duvall <danek.duvall@oracle.com> |
Mon, 27 Feb 2017 16:13:00 -0800 | |
changeset 7831 | d0adeff33adb |
parent 6911 | 7b878dfe6f0d |
child 7860 | 8991c11f87b1 |
permissions | -rw-r--r-- |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
1 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
3 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
7 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
12 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
18 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
20 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
21 |
|
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
25 |
BUILD_BITS= NO_ARCH |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
27 |
|
2020
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
28 |
# The version of rpm2cpio.pl delivered in Userland does not seem to be |
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
29 |
# available in the form of a compressed source tarball, so it is |
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
30 |
# exceptionally delivered in the Userland gate itself. Note that the version |
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
31 |
# number comes from the PORTVERSION field of the Makefile at the |
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
32 |
# COMPONENT_PROJECT_URL site. |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
33 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_NAME= rpm2cpio |
2020
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
35 |
COMPONENT_VERSION= 1.3 |
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
36 |
COMPONENT_PROJECT_URL= http://svnweb.freebsd.org/ports/head/archivers/rpm2cpio |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_SRC= src |
6911
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5797
diff
changeset
|
38 |
COMPONENT_ARCHIVE_SRC= none |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
39 |
COMPONENT_BUGDB= utility/rpm |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
40 |
|
2020
b8615970ab39
15477360 SUNBT6696488 rpm2cpio needs updating to cope with rpms from the modern era
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
41 |
TPNO= 17824 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
42 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
43 |
BUILD_STYLE= archive |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
44 |
COMMON_TARGETS= no |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/common.mk |
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
46 |
|
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
47 |
# Do not clean the sources (set in prep.mk) |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
48 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
49 |
CLEAN_PATHS= |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
50 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
51 |
CLEAN_PATHS += $(BUILD_DIR) |
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
52 |
|
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
53 |
# Common targets |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
54 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
55 |
build: |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
56 |
# Just create the build directory, which is needed for publishing. |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
57 |
# There is nothing to actually build. |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
58 |
# |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
59 |
$(RM) -r $(BUILD_DIR) ; $(MKDIR) $(BUILD_DIR) |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
60 |
|
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
61 |
install: |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
62 |
@echo "Nothing to install." |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
63 |
|
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
64 |
test: $(NO_TESTS) |
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
65 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
66 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
67 |
|
307
c12c36cb5349
7054536 move rpm2cpio to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff
changeset
|
68 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
69 |
REQUIRED_PACKAGES += $(PERL_PKG) |