Browse Source

libarchive: Cleanup build

android-5
Fredrik Fornwall 9 years ago
parent
commit
24bf71cdaf
  1. 7
      packages/libarchive/build.sh

7
packages/libarchive/build.sh

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

Loading…
Cancel
Save