libarchive: add lz4 build option (off)

This commit is contained in:
Alessio Sergi 2016-07-11 13:03:21 +02:00
parent 35ab110746
commit 64f14b3c3d
2 changed files with 7 additions and 5 deletions

View file

@ -36,6 +36,7 @@ desc_option_ldns="Enable support for LDNS DNSSEC library"
desc_option_libao="Enable support for libao sound library" desc_option_libao="Enable support for libao sound library"
desc_option_libedit="Enable support for NetBSD's libedit" desc_option_libedit="Enable support for NetBSD's libedit"
desc_option_lua="Enable support for Lua" desc_option_lua="Enable support for Lua"
desc_option_lz4="Enable support for LZ4 compression format"
desc_option_lzo="Enable support for LZO compression format" desc_option_lzo="Enable support for LZO compression format"
desc_option_microhttpd="Enable support for microhttpd" desc_option_microhttpd="Enable support for microhttpd"
desc_option_mpcdec="Enable support for the Musepack decoder" desc_option_mpcdec="Enable support for the Musepack decoder"

View file

@ -1,16 +1,17 @@
# Template file for 'libarchive' # Template file for 'libarchive'
pkgname=libarchive pkgname=libarchive
version=3.2.1 version=3.2.1
revision=1 revision=2
bootstrap=yes bootstrap=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr) configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
$(vopt_with expat) $(vopt_with lzo lzo2) $(vopt_with ssl openssl) $(vopt_with expat) $(vopt_with lzo lzo2) $(vopt_with lz4)
--without-xml2 --without-nettle --disable-rpath ac_cv_func_lchmod=no" $(vopt_with ssl openssl) --without-xml2 --without-nettle
--disable-rpath ac_cv_func_lchmod=no"
hostmakedepends="automake libtool pkg-config" hostmakedepends="automake libtool pkg-config"
makedepends="zlib-devel bzip2-devel liblzma-devel makedepends="zlib-devel bzip2-devel liblzma-devel
$(vopt_if acl acl-devel) $(vopt_if expat expat-devel) $(vopt_if acl acl-devel) $(vopt_if expat expat-devel)
$(vopt_if lzo lzo-devel) $(vopt_if ssl libressl-devel)" $(vopt_if lzo lzo-devel) $(vopt_if lz4 lz4-devel) $(vopt_if ssl libressl-devel)"
short_desc="Library to read/write several different streaming archive formats" short_desc="Library to read/write several different streaming archive formats"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libarchive.org/" homepage="http://www.libarchive.org/"
@ -19,7 +20,7 @@ distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
checksum=72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2 checksum=72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2
# Package build options # Package build options
build_options="acl expat lzo ssl" build_options="acl expat lzo lz4 ssl"
# Enable acl and ssl by default. # Enable acl and ssl by default.
build_options_default="acl ssl" build_options_default="acl ssl"