1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# xorriso 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunXORRISO_VERSION = 1.5.4.pl02 8*4882a593SmuzhiyunXORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso 9*4882a593SmuzhiyunXORRISO_LICENSE = GPL-3.0+ 10*4882a593SmuzhiyunXORRISO_LICENSE_FILES = COPYING COPYRIGHT 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun# Disable everything until we actually need those features, and add the correct 13*4882a593Smuzhiyun# host libraries 14*4882a593SmuzhiyunHOST_XORRISO_CONF_OPTS = \ 15*4882a593Smuzhiyun --enable-zlib \ 16*4882a593Smuzhiyun --disable-xattr-h-pref-attr \ 17*4882a593Smuzhiyun --disable-libbz2 \ 18*4882a593Smuzhiyun --disable-libcdio \ 19*4882a593Smuzhiyun --disable-libreadline \ 20*4882a593Smuzhiyun --disable-libedit \ 21*4882a593Smuzhiyun --disable-libacl 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunHOST_XORRISO_DEPENDENCIES = host-zlib 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun# libcdio doesn't make sense for Linux 26*4882a593Smuzhiyun# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html 27*4882a593SmuzhiyunXORRISO_CONF_OPTS = --disable-libcdio 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun# we need sys/xattr.h 30*4882a593SmuzhiyunXORRISO_CONF_OPTS += \ 31*4882a593Smuzhiyun --disable-xattr-h-pref-attr 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBICONV),y) 34*4882a593SmuzhiyunXORRISO_DEPENDENCIES += libiconv 35*4882a593Smuzhiyunendif 36*4882a593Smuzhiyun 37*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_READLINE),y) 38*4882a593SmuzhiyunXORRISO_DEPENDENCIES += readline 39*4882a593SmuzhiyunXORRISO_CONF_OPTS += --enable-libreadline 40*4882a593Smuzhiyunelse 41*4882a593SmuzhiyunXORRISO_CONF_OPTS += --disable-libreadline 42*4882a593Smuzhiyunendif 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ACL),y) 45*4882a593SmuzhiyunXORRISO_DEPENDENCIES += acl 46*4882a593SmuzhiyunXORRISO_CONF_OPTS += --enable-libacl 47*4882a593Smuzhiyunelse 48*4882a593SmuzhiyunXORRISO_CONF_OPTS += --disable-libacl 49*4882a593Smuzhiyunendif 50*4882a593Smuzhiyun 51*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ATTR),y) 52*4882a593SmuzhiyunXORRISO_DEPENDENCIES += attr 53*4882a593SmuzhiyunXORRISO_CONF_OPTS += --enable-xattr 54*4882a593Smuzhiyunelse 55*4882a593SmuzhiyunXORRISO_CONF_OPTS += --disable-xattr 56*4882a593Smuzhiyunendif 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ZLIB),y) 59*4882a593SmuzhiyunXORRISO_DEPENDENCIES += zlib 60*4882a593SmuzhiyunXORRISO_CONF_OPTS += --enable-zlib 61*4882a593Smuzhiyunelse 62*4882a593SmuzhiyunXORRISO_CONF_OPTS += --disable-zlib 63*4882a593Smuzhiyunendif 64*4882a593Smuzhiyun 65*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_BZIP2),y) 66*4882a593SmuzhiyunXORRISO_DEPENDENCIES += bzip2 67*4882a593SmuzhiyunXORRISO_CONF_OPTS += --enable-libbz2 68*4882a593Smuzhiyunelse 69*4882a593SmuzhiyunXORRISO_CONF_OPTS += --disable-libbz2 70*4882a593Smuzhiyunendif 71*4882a593Smuzhiyun 72*4882a593Smuzhiyunifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) 73*4882a593SmuzhiyunXORRISO_CONF_OPTS += --enable-jtethreads 74*4882a593Smuzhiyunelse 75*4882a593SmuzhiyunXORRISO_CONF_OPTS += --disable-jtethreads 76*4882a593Smuzhiyunendif 77*4882a593Smuzhiyun 78*4882a593Smuzhiyun$(eval $(autotools-package)) 79*4882a593Smuzhiyun$(eval $(host-autotools-package)) 80