1 ################################################################################
5 ################################################################################
7 XORRISO_VERSION
= 1.4.2
8 XORRISO_SITE
= $(BR2_GNU_MIRROR
)/xorriso
9 XORRISO_LICENSE
= GPLv3
+
10 XORRISO_LICENSE_FILES
= COPYING COPYRIGHT
11 # Disable everything until we actually need those features, and add the correct
13 HOST_XORRISO_CONF_OPTS
= \
17 --disable-libreadline \
21 ifeq ($(BR2_PACKAGE_LIBICONV
),y
)
22 XORRISO_DEPENDENCIES
+= libiconv
25 ifeq ($(BR2_PACKAGE_LIBCDIO
),y
)
26 XORRISO_DEPENDENCIES
+= host-pkgconf libcdio
27 XORRISO_CONF_OPTS
+= \
28 --enable-pkg-check-modules \
31 XORRISO_CONF_OPTS
+= --disable-libcdio
34 ifeq ($(BR2_PACKAGE_READLINE
),y
)
35 XORRISO_DEPENDENCIES
+= readline
36 XORRISO_CONF_OPTS
+= --enable-libreadline
38 XORRISO_CONF_OPTS
+= --disable-libreadline
41 ifeq ($(BR2_PACKAGE_ACL
),y
)
42 XORRISO_DEPENDENCIES
+= acl
43 XORRISO_CONF_OPTS
+= --enable-libacl
45 XORRISO_CONF_OPTS
+= --disable-libacl
48 ifeq ($(BR2_PACKAGE_ATTR
),y
)
49 XORRISO_DEPENDENCIES
+= attr
50 XORRISO_CONF_OPTS
+= --enable-xattr
52 XORRISO_CONF_OPTS
+= --disable-xattr
55 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
56 XORRISO_DEPENDENCIES
+= zlib
57 XORRISO_CONF_OPTS
+= --enable-zlib
59 XORRISO_CONF_OPTS
+= --disable-zlib
62 ifeq ($(BR2_PACKAGE_BZIP2
),y
)
63 XORRISO_DEPENDENCIES
+= bzip2
64 XORRISO_CONF_OPTS
+= --enable-libbz2
66 XORRISO_CONF_OPTS
+= --disable-libbz2
69 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS
),y
)
70 XORRISO_CONF_OPTS
+= --enable-jtethreads
72 XORRISO_CONF_OPTS
+= --disable-jtethreads
75 $(eval
$(autotools-package
))
76 $(eval
$(host-autotools-package
))