generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
22
package/xorriso/Config.in
Normal file
22
package/xorriso/Config.in
Normal file
@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_XORRISO
|
||||
bool "xorriso"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
xorriso copies file objects from POSIX compliant
|
||||
filesystems into Rock Ridge enhanced ISO 9660 filesystems
|
||||
and allows session-wise manipulation of such filesystems.
|
||||
It can load the management information of existing ISO
|
||||
images and it writes the session results to optical media
|
||||
or to filesystem objects.
|
||||
|
||||
Vice versa xorriso is able to copy file objects out of ISO
|
||||
9660 filesystems.
|
||||
|
||||
https://www.gnu.org/software/xorriso
|
||||
|
||||
comment "xorriso needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
14
package/xorriso/Config.in.host
Normal file
14
package/xorriso/Config.in.host
Normal file
@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_HOST_XORRISO
|
||||
bool "host xorriso"
|
||||
help
|
||||
xorriso copies file objects from POSIX compliant
|
||||
filesystems into Rock Ridge enhanced ISO 9660 filesystems
|
||||
and allows session-wise manipulation of such filesystems.
|
||||
It can load the management information of existing ISO
|
||||
images and it writes the session results to optical media
|
||||
or to filesystem objects.
|
||||
|
||||
Vice versa xorriso is able to copy file objects out of ISO
|
||||
9660 filesystems.
|
||||
|
||||
https://www.gnu.org/software/xorriso
|
||||
4
package/xorriso/xorriso.hash
Normal file
4
package/xorriso/xorriso.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 3ec7393d4a9dcbf5f74309c28a415f55227ec62770b95ae993ac8d7a3b152972 xorriso-1.5.4.pl02.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
sha256 72e99e72cd68f226415e5d898f3b38e24ae7991ed038ed72d789fff5b060f028 COPYRIGHT
|
||||
79
package/xorriso/xorriso.mk
Normal file
79
package/xorriso/xorriso.mk
Normal file
@ -0,0 +1,79 @@
|
||||
################################################################################
|
||||
#
|
||||
# xorriso
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XORRISO_VERSION = 1.5.4.pl02
|
||||
XORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso
|
||||
XORRISO_LICENSE = GPL-3.0+
|
||||
XORRISO_LICENSE_FILES = COPYING COPYRIGHT
|
||||
|
||||
# Disable everything until we actually need those features, and add the correct
|
||||
# host libraries
|
||||
HOST_XORRISO_CONF_OPTS = \
|
||||
--enable-zlib \
|
||||
--disable-xattr-h-pref-attr \
|
||||
--disable-libbz2 \
|
||||
--disable-libcdio \
|
||||
--disable-libreadline \
|
||||
--disable-libedit \
|
||||
--disable-libacl
|
||||
|
||||
HOST_XORRISO_DEPENDENCIES = host-zlib
|
||||
|
||||
# libcdio doesn't make sense for Linux
|
||||
# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html
|
||||
XORRISO_CONF_OPTS = --disable-libcdio
|
||||
|
||||
# we need sys/xattr.h
|
||||
XORRISO_CONF_OPTS += \
|
||||
--disable-xattr-h-pref-attr
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
XORRISO_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
XORRISO_DEPENDENCIES += readline
|
||||
XORRISO_CONF_OPTS += --enable-libreadline
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libreadline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||
XORRISO_DEPENDENCIES += acl
|
||||
XORRISO_CONF_OPTS += --enable-libacl
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libacl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ATTR),y)
|
||||
XORRISO_DEPENDENCIES += attr
|
||||
XORRISO_CONF_OPTS += --enable-xattr
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-xattr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
XORRISO_DEPENDENCIES += zlib
|
||||
XORRISO_CONF_OPTS += --enable-zlib
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
XORRISO_DEPENDENCIES += bzip2
|
||||
XORRISO_CONF_OPTS += --enable-libbz2
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libbz2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
XORRISO_CONF_OPTS += --enable-jtethreads
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-jtethreads
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user