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_libedit="Enable support for NetBSD's libedit"
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_microhttpd="Enable support for microhttpd"
desc_option_mpcdec="Enable support for the Musepack decoder"

View File

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