diff --git a/common/options.description b/common/options.description index 1b2a0af229c..5bc7edfb12b 100644 --- a/common/options.description +++ b/common/options.description @@ -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" diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index dc7c4650981..c8e27d4f960 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -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 " 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"