libarchive: enable lz4 and zstd build options.

There's no reason to have them disabled by default.
This commit is contained in:
Juan RP 2019-06-17 06:04:52 +02:00
parent 9f116e9cb0
commit f6c7ee447d
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libarchive' # Template file for 'libarchive'
pkgname=libarchive pkgname=libarchive
version=3.3.3 version=3.3.3
revision=4 revision=5
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)
@ -9,7 +9,7 @@ configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
$(vopt_with ssl openssl) $(vopt_with zstd) --without-xml2 $(vopt_with ssl openssl) $(vopt_with zstd) --without-xml2
--without-nettle --disable-rpath ac_cv_func_lchmod=no" --without-nettle --disable-rpath ac_cv_func_lchmod=no"
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 zstd zstd-devel) $(vopt_if acl acl-devel) $(vopt_if expat expat-devel) $(vopt_if zstd libzstd-devel)
$(vopt_if lzo lzo-devel) $(vopt_if lz4 liblz4-devel) $(vopt_if ssl libressl-devel)" $(vopt_if lzo lzo-devel) $(vopt_if lz4 liblz4-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.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
@ -20,8 +20,8 @@ checksum=ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e
# Package build options # Package build options
build_options="acl expat lzo lz4 ssl zstd" build_options="acl expat lzo lz4 ssl zstd"
# Enable acl and ssl by default. # Enable acl, ssl, lz4 and zstd by default.
build_options_default="acl ssl" build_options_default="acl ssl lz4 zstd"
if [ "$CHROOT_READY" ]; then if [ "$CHROOT_READY" ]; then
hostmakedepends="automake libtool pkg-config" hostmakedepends="automake libtool pkg-config"

View File

@ -3,6 +3,7 @@ pkgname=lz4
reverts="131_1 130_1 129_1 128_1 127_1 126_1 125_1 124_1 123_1 122_1" reverts="131_1 130_1 129_1 128_1 127_1 126_1 125_1 124_1 123_1 122_1"
version=1.9.1 version=1.9.1
revision=1 revision=1
bootstrap=yes
build_style=gnu-makefile build_style=gnu-makefile
make_check_target=test make_check_target=test
short_desc="LZ4 compression utilities" short_desc="LZ4 compression utilities"

View File

@ -2,6 +2,7 @@
pkgname=zstd pkgname=zstd
version=1.4.0 version=1.4.0
revision=1 revision=1
bootstrap=yes
makedepends="zlib-devel liblzma-devel liblz4-devel" makedepends="zlib-devel liblzma-devel liblz4-devel"
checkdepends="gtest-devel" checkdepends="gtest-devel"
short_desc="Fast real-time compression algorithm - CLI tool" short_desc="Fast real-time compression algorithm - CLI tool"