20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 BUILD_BITS= 64 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= parallel |
28 COMPONENT_NAME= parallel |
29 COMPONENT_VERSION= 20160222 |
29 COMPONENT_VERSION= 20160222 |
30 # A leading "0." is included to make it easier to upgrade the package, should |
30 # A leading "0." is included to make it easier to upgrade the package, should |
31 # the maintainers decide to go to a more standard version numbering system. |
31 # the maintainers decide to go to a more standard version numbering system. |
32 IPS_COMPONENT_VERSION= 0.2016.2.22 |
32 IPS_COMPONENT_VERSION= 0.2016.2.22 |
33 COMPONENT_PROJECT_URL= http://www.gnu.org/software/parallel/ |
|
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
36 COMPONENT_ARCHIVE_HASH= \ |
34 COMPONENT_ARCHIVE_HASH= \ |
37 sha256:8dfbe539036a6ff02f9f542751e8621f42d285b3c9a7d9245042a6cc6ddc55ea |
35 sha256:8dfbe539036a6ff02f9f542751e8621f42d285b3c9a7d9245042a6cc6ddc55ea |
38 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
|
39 COMPONENT_BUGDB= utility/parallel |
|
40 |
36 |
41 TPNO= 27217 |
37 TPNO= 27217 |
42 |
38 |
43 include $(WS_MAKE_RULES)/prep.mk |
39 TEST_TARGET= $(NO_TESTS) |
44 include $(WS_MAKE_RULES)/configure.mk |
40 include $(WS_MAKE_RULES)/gnu-component.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
|
46 |
41 |
47 # Set PATH to find the correct pod2man, so that the man pages can be |
42 # Set PATH to find the correct pod2man, so that the man pages can be |
48 # automatically generated |
43 # automatically generated |
49 COMPONENT_BUILD_ENV += \ |
44 COMPONENT_BUILD_ENV += \ |
50 PATH="/usr/bin:/usr/gnu/bin:/usr/perl5/$(PERL_VERSION)/bin" |
45 PATH="$(USRBINDIR):$(GNUBIN):$(USRDIR)/perl5/$(PERL_VERSION)/bin" |
51 |
46 |
52 # Adjust the '#!/usr/bin/env perl' and '#!/usr/bin/perl' at the beginning of |
47 # Adjust the '#!/usr/bin/env perl' and '#!/usr/bin/perl' at the beginning of |
53 # the Perl scripts to use '#!/usr/perl5/$(PERL_VERSION)/bin/perl' |
48 # the Perl scripts to use '#!/usr/perl5/$(PERL_VERSION)/bin/perl' |
54 COMPONENT_POST_INSTALL_ACTION += \ |
49 COMPONENT_POST_INSTALL_ACTION += \ |
55 $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
50 $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
56 $(PROTOUSRBINDIR64)/niceload; |
51 $(PROTOUSRBINDIR)/niceload; |
57 COMPONENT_POST_INSTALL_ACTION += \ |
52 COMPONENT_POST_INSTALL_ACTION += \ |
58 $(GSED) -i -e \ |
53 $(GSED) -i -e \ |
59 's?/usr/bin/env perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
54 's?/usr/bin/env perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
60 $(PROTOUSRBINDIR64)/parallel; |
55 $(PROTOUSRBINDIR)/parallel; |
61 COMPONENT_POST_INSTALL_ACTION += \ |
56 COMPONENT_POST_INSTALL_ACTION += \ |
62 $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
57 $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
63 $(PROTOUSRBINDIR64)/sql; |
58 $(PROTOUSRBINDIR)/sql; |
64 |
59 |
65 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
60 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
66 |
|
67 configure: $(CONFIGURE_64) |
|
68 |
|
69 build: $(BUILD_64) |
|
70 |
|
71 install: $(INSTALL_64) |
|
72 |
|
73 test: $(NO_TESTS) |
|
74 |
|
75 system-test: $(NO_TESTS) |
|
76 |
|
77 |
61 |
78 REQUIRED_PACKAGES += $(PERL_PKG) |
62 REQUIRED_PACKAGES += $(PERL_PKG) |
79 REQUIRED_PACKAGES += shell/which |
63 REQUIRED_PACKAGES += shell/which |
80 REQUIRED_PACKAGES += system/core-os |
64 REQUIRED_PACKAGES += system/core-os |