termux-packages/disabled-packages/clisp/build.sh
2016-02-17 15:40:11 -05:00

29 lines
763 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.clisp.org/
TERMUX_PKG_DESCRIPTION="GNU CLISP - an ANSI Common Lisp Implementation"
TERMUX_PKG_VERSION=2.49
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/clisp/clisp/${TERMUX_PKG_VERSION}/clisp-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="readline, libandroid-support"
TERMUX_MAKE_PROCESSES=1
termux_step_configure () {
cd $TERMUX_PKG_BUILDDIR
export XCPPFLAGS="$CPPFLAGS"
export XCFLAGS="$CFLAGS"
export XLDFLAGS="$LDFLAGS"
unset CC
unset CPPFLAGS
unset CFLAGS
unset LDFLAGS
$TERMUX_PKG_SRCDIR/configure \
--host=$TERMUX_HOST_PLATFORM \
--prefix=$TERMUX_PREFIX \
--enable-shared \
--disable-static \
--srcdir=$TERMUX_PKG_SRCDIR \
--ignore-absence-of-libsigsegv \
ac_cv_func_select=yes
}