termux-packages/packages/libarchive/build.sh
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

12 lines
538 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.libarchive.org/
TERMUX_PKG_DESCRIPTION="Multi-format archive and compression library"
TERMUX_PKG_VERSION=3.1.2
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"