libarchive: Cleanup build

This commit is contained in:
Fredrik Fornwall 2015-08-25 17:08:51 -04:00
parent 542a284d1f
commit 24bf71cdaf
1 changed files with 3 additions and 4 deletions

View File

@ -1,11 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://www.libarchive.org/
TERMUX_PKG_DESCRIPTION="Multi-format archive and compression library"
TERMUX_PKG_VERSION=3.1.2
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://www.libarchive.org/downloads/libarchive-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="libbz2, liblzma, libxml2, openssl"
# ac_cv_header_sys_statfs_h=no Needed for api levels >= 21, without-nettle to use openssl
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_header_sys_statfs_h=no --without-nettle"
CFLAGS+=" -Dstatvfs=statfs -Dfstatvfs=fstatfs"
# --without-nettle to use openssl instead:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-nettle"