termux-packages/disabled-packages/libffi-updated/build.sh
Fredrik Fornwall 51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00

15 lines
601 B
Bash
Executable File

TERMUX_PKG_HOMEPAGE=https://sourceware.org/libffi/
TERMUX_PKG_DESCRIPTION="Library providing a portable, high level programming interface to various calling conventions"
_COMMIT=60e4250a77eb3fde500bfd68ec40519fe34b21bd
_DATE=20160904
TERMUX_PKG_VERSION=3.2.1.$_DATE
TERMUX_PKG_SRCURL=https://github.com/libffi/libffi/archive/${_COMMIT}.zip
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-multi-os-directory"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-symvers=no"
TERMUX_PKG_RM_AFTER_INSTALL="lib/libffi-${TERMUX_PKG_VERSION}/include"
termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
./autogen.sh
}