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) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
|
23 |
|
24 # |
|
25 # Note that package library/perl-5/xml-parser cannot use versionless |
|
26 # packaging because this package migrated from the desktop consolidation |
|
27 # with an incorrect version number. |
|
28 # |
|
29 |
23 include ../../../make-rules/shared-macros.mk |
30 include ../../../make-rules/shared-macros.mk |
24 |
31 |
25 COMPONENT_NAME= XML-Parser |
32 COMPONENT_NAME= XML-Parser |
26 COMPONENT_VERSION= 2.36 |
33 COMPONENT_VERSION= 2.41 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE_HASH= \ |
36 COMPONENT_ARCHIVE_HASH= \ |
30 sha256:9fd529867402456bd826fe0e5588d35b3a2e27e586a2fd838d1352b71c2ed73f |
37 sha256:b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de9 |
31 COMPONENT_ARCHIVE_URL= http://www.cpan.org/authors/id/M/MS/MSERGEANT/$(COMPONENT_ARCHIVE) |
38 COMPONENT_ARCHIVE_URL= http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$(COMPONENT_ARCHIVE) |
32 COMPONENT_PROJECT_URL= http://search.cpan.org/~msergeant/ |
39 COMPONENT_PROJECT_URL= http://search.cpan.org/~toddr/ |
33 COMPONENT_BUGDB= perl-mod/xml-parser |
40 COMPONENT_BUGDB= perl-mod/xml-parser |
34 |
41 |
35 include $(WS_TOP)/make-rules/prep.mk |
42 include $(WS_TOP)/make-rules/prep.mk |
36 include $(WS_TOP)/make-rules/ips.mk |
43 include $(WS_TOP)/make-rules/ips.mk |
37 include $(WS_TOP)/make-rules/makemaker.mk |
44 include $(WS_TOP)/make-rules/makemaker.mk |
38 |
45 |
39 # man pages go in the common area |
46 # man pages go in the common area |
40 COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR) |
47 COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR) |
41 |
48 |
42 build: $(BUILD_32) |
49 COMPONENT_TEST_TARGETS = test |
43 |
50 |
44 install: $(INSTALL_32) |
51 PKG_MACROS += PERL_A=$(shell arch) |
45 |
52 |
46 COMPONENT_TEST_TARGETS = test |
53 build: $(BUILD_32_and_64) |
47 test: $(TEST_32) |
54 |
|
55 install: $(INSTALL_32_and_64) |
|
56 |
|
57 test: $(TEST_32_and_64) |
48 |
58 |
49 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
59 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
50 |
60 |
51 include $(WS_TOP)/make-rules/depend.mk |
61 include $(WS_TOP)/make-rules/depend.mk |