equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 # One must do all unpack and patch in sequence. |
24 # One must do all unpack and patch in sequence. |
25 .NOTPARALLEL: (SOURCE_DIR)/.prep |
25 .NOTPARALLEL: (SOURCE_DIR)/.prep |
26 |
26 |
62 |
62 |
63 # Template for download rules. |
63 # Template for download rules. |
64 define download-rule |
64 define download-rule |
65 ARCHIVES += $$(COMPONENT_ARCHIVE$(1)) |
65 ARCHIVES += $$(COMPONENT_ARCHIVE$(1)) |
66 CLOBBER_PATHS += $$(COMPONENT_ARCHIVE$(1)) |
66 CLOBBER_PATHS += $$(COMPONENT_ARCHIVE$(1)) |
67 $$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)): Makefile |
67 $$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)): $(MAKEFILE_PREREQ) |
68 $$(FETCH) --file $$@ \ |
68 $$(FETCH) --file $$@ \ |
69 $$(COMPONENT_ARCHIVE_URL$(1):%=--url %) \ |
69 $$(COMPONENT_ARCHIVE_URL$(1):%=--url %) \ |
70 $$(COMPONENT_ARCHIVE_HASH$(1):%=--hash %) \ |
70 $$(COMPONENT_ARCHIVE_HASH$(1):%=--hash %) \ |
71 $$(COMPONENT_SIG_URL$(1):%=--sigurl %) |
71 $$(COMPONENT_SIG_URL$(1):%=--sigurl %) |
72 $$(TOUCH) $$@ |
72 $$(TOUCH) $$@ |
95 $$(TOUCH) $$@ |
95 $$(TOUCH) $$@ |
96 endef |
96 endef |
97 |
97 |
98 # Template for unpacking rules. |
98 # Template for unpacking rules. |
99 define unpack-rule |
99 define unpack-rule |
100 $$(SOURCE_DIR)/.unpacked$(1): download Makefile $$(PATCHDIR_PATCHES$(1)) |
100 $$(SOURCE_DIR)/.unpacked$(1): download $(MAKEFILE_PREREQ) $$(PATCHDIR_PATCHES$(1)) |
101 $$(RM) -r $$(COMPONENT_SRC$(1)) |
101 $$(RM) -r $$(COMPONENT_SRC$(1)) |
102 $$(UNPACK) $$(UNPACK_ARGS$(1)) \ |
102 $$(UNPACK) $$(UNPACK_ARGS$(1)) \ |
103 $$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)) |
103 $$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)) |
104 $$(COMPONENT_POST_UNPACK_ACTION$(1)) |
104 $$(COMPONENT_POST_UNPACK_ACTION$(1)) |
105 $$(TOUCH) $$@ |
105 $$(TOUCH) $$@ |
140 clean:: |
140 clean:: |
141 $(RM) -r $(CLEAN_PATHS) |
141 $(RM) -r $(CLEAN_PATHS) |
142 |
142 |
143 clobber:: clean |
143 clobber:: clean |
144 $(RM) -r $(CLOBBER_PATHS) |
144 $(RM) -r $(CLOBBER_PATHS) |
|
145 |
|
146 REQUIRED_PACKAGES += archiver/gnu-tar |
|
147 REQUIRED_PACKAGES += compress/bzip2 |
|
148 REQUIRED_PACKAGES += compress/gzip |
|
149 REQUIRED_PACKAGES += compress/p7zip |
|
150 REQUIRED_PACKAGES += compress/unzip |
|
151 REQUIRED_PACKAGES += compress/xz |
|
152 REQUIRED_PACKAGES += developer/java/jdk |
|
153 REQUIRED_PACKAGES += runtime/ruby |
|
154 REQUIRED_PACKAGES += text/gnu-patch |