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, 2015, Oracle and/or its affiliates. All rights reserved. |
21 |
22 # |
22 # |
|
23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 BUILD_BITS= 32 |
23 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
24 |
27 |
25 COMPONENT_NAME= xorriso |
28 COMPONENT_NAME= xorriso |
26 COMPONENT_VERSION= 0.6.0 |
29 COMPONENT_VERSION= 0.6.0 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
28 COMPONENT_PROJECT_URL= http://scdbackup.sourceforge.net/xorriso/ |
30 COMPONENT_PROJECT_URL= http://scdbackup.sourceforge.net/xorriso/ |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
30 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:1f26880eaacf7bd806520a458963d2374ad6bf90353e08ed0de271b6d45c5b8a |
32 sha256:1f26880eaacf7bd806520a458963d2374ad6bf90353e08ed0de271b6d45c5b8a |
32 COMPONENT_ARCHIVE_URL= http://scdbackup.sourceforge.net/$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= http://scdbackup.sourceforge.net/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/xorriso |
|
34 |
34 |
35 TPNO= 3504 |
35 TPNO= 3504 |
36 |
36 |
37 CPPFLAGS+= -I./test |
37 CPPFLAGS+= -I./test |
38 |
38 |
39 include $(WS_MAKE_RULES)/prep.mk |
39 TEST_TARGET= $(NO_TESTS) |
40 include $(WS_MAKE_RULES)/configure.mk |
40 include $(WS_MAKE_RULES)/common.mk |
41 include $(WS_MAKE_RULES)/ips.mk |
|
42 |
41 |
43 CONFIGURE_OPTIONS += --enable-shared |
42 CONFIGURE_OPTIONS += --enable-shared |
44 CONFIGURE_OPTIONS += --disable-static |
43 CONFIGURE_OPTIONS += --disable-static |
45 CONFIGURE_OPTIONS += --sysconfdir=/etc/gnu |
44 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/gnu |
46 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
45 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
47 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" |
|
48 |
46 |
49 # The tarball for this version already has a config.status file so remove it. |
47 # The tarball for this version already has a config.status file so remove it. |
50 COMPONENT_PREP_ACTION = \ |
48 COMPONENT_PREP_ACTION = \ |
51 (cd $(@D) ; test -f config.status && rm config.status) |
49 (cd $(@D) ; test -f config.status && rm config.status) |
52 |
50 |
53 configure: $(CONFIGURE_32) |
|
54 |
|
55 build: $(BUILD_32) |
|
56 |
|
57 install: $(INSTALL_32) |
|
58 |
|
59 test: $(NO_TESTS) |
|
60 |
|
61 system-test: $(NO_TESTS) |
|
62 |
|
63 |
|
64 REQUIRED_PACKAGES += library/readline |
51 REQUIRED_PACKAGES += library/readline |
65 REQUIRED_PACKAGES += library/zlib |
52 REQUIRED_PACKAGES += library/zlib |
66 REQUIRED_PACKAGES += system/library |
|