libarchive: switch to libressl.

This commit is contained in:
Juan RP 2014-07-14 11:07:38 +02:00
parent dbaca8cdfa
commit eef4c4036a
1 changed files with 3 additions and 16 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libarchive' # Template file for 'libarchive'
pkgname=libarchive pkgname=libarchive
version=3.1.2 version=3.1.2
revision=6 revision=7
bootstrap=yes bootstrap=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="--without-xml2 --without-nettle --disable-rpath ac_cv_func_lchmod=no" configure_args="--without-xml2 --without-nettle --disable-rpath ac_cv_func_lchmod=no"
@ -53,7 +53,7 @@ fi
if [ "$build_option_ssl" ]; then if [ "$build_option_ssl" ]; then
configure_args+=" --with-openssl" configure_args+=" --with-openssl"
makedepends+=" openssl-devel" makedepends+=" libressl-devel"
else else
configure_args+=" --without-openssl" configure_args+=" --without-openssl"
fi fi
@ -77,20 +77,7 @@ bsdcpio_package() {
} }
libarchive-devel_package() { libarchive-devel_package() {
depends="zlib-devel bzip2-devel liblzma-devel" depends="${makedepends} libarchive>=${version}_${revision}"
if [ "$build_option_acl" ]; then
depends+=" acl-devel"
fi
if [ "$build_option_expat" ]; then
depends+=" expat-devel"
fi
if [ "$build_option_lzo" ]; then
depends+=" lzo-devel"
fi
if [ "$build_option_ssl" ]; then
depends+=" openssl-devel"
fi
depends+=" libarchive>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include