18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2012, 2015, 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 |
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= 20121122 |
29 COMPONENT_VERSION= 20151222 |
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.2012.11.22 |
32 IPS_COMPONENT_VERSION= 0.2015.12.22 |
33 COMPONENT_PROJECT_URL= http://www.gnu.org/software/parallel/ |
33 COMPONENT_PROJECT_URL= http://www.gnu.org/software/parallel/ |
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
36 COMPONENT_ARCHIVE_HASH= \ |
36 COMPONENT_ARCHIVE_HASH= \ |
37 sha256:0315336141612ba2ec1f76e6c8c58a72f4531777c96b79b91ef64b3980be584f |
37 sha256:ae927c260fb86c24e0a2717d3b214996a9547d1a2be4ff3bfebd9f23b5bd9f0d |
38 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
38 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
39 COMPONENT_BUGDB= utility/parallel |
39 COMPONENT_BUGDB= utility/parallel |
40 |
40 |
41 TPNO= 8651 |
41 TPNO= 26424 |
42 |
42 |
43 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/prep.mk |
44 include $(WS_MAKE_RULES)/configure.mk |
44 include $(WS_MAKE_RULES)/configure.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
46 |
46 |
47 # Set PATH to find /usr/perl5/bin/pod2man, so that the man pages can be |
47 # Version of Perl to use in the Perl scripts in the parallel package. |
|
48 PERL_VERSION = 5.20 |
|
49 |
|
50 # Set PATH to find the correct pod2man, so that the man pages can be |
48 # automatically generated |
51 # automatically generated |
49 COMPONENT_BUILD_ENV += PATH="/usr/bin:/usr/gnu/bin:/usr/perl5/bin" |
52 COMPONENT_BUILD_ENV += \ |
|
53 PATH="/usr/bin:/usr/gnu/bin:/usr/perl5/$(PERL_VERSION)/bin" |
|
54 |
|
55 # Adjust the '#!/usr/bin/env perl' and '#!/usr/bin/perl' at the beginning of |
|
56 # the Perl scripts to use '#!/usr/perl5/$(PERL_VERSION)/bin/perl' |
|
57 COMPONENT_POST_INSTALL_ACTION += \ |
|
58 $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
|
59 $(PROTOUSRBINDIR64)/niceload; |
|
60 COMPONENT_POST_INSTALL_ACTION += \ |
|
61 $(GSED) -i -e \ |
|
62 's?/usr/bin/env perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
|
63 $(PROTOUSRBINDIR64)/parallel; |
|
64 COMPONENT_POST_INSTALL_ACTION += \ |
|
65 $(GSED) -i -e 's?/usr/bin/perl?/usr/perl5/$(PERL_VERSION)/bin/perl?' \ |
|
66 $(PROTOUSRBINDIR64)/sql; |
50 |
67 |
51 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
68 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
52 |
69 |
53 # common targets |
|
54 configure: $(CONFIGURE_64) |
70 configure: $(CONFIGURE_64) |
55 |
71 |
56 build: $(BUILD_64) |
72 build: $(BUILD_64) |
57 |
73 |
58 install: $(INSTALL_64) |
74 install: $(INSTALL_64) |