mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
9e90d1b31a
Some packages have issues with parallel builds and need to set TERMUX_MAKE_PROCESSES=1. All other build variables that package recipes set are prefixed with TERMUX_PKG, use that for MAKE_PROCESSES as well for consistency. %ci:no-build
32 lines
912 B
Bash
32 lines
912 B
Bash
TERMUX_PKG_HOMEPAGE=http://www.clisp.org/
|
|
TERMUX_PKG_DESCRIPTION="GNU CLISP - an ANSI Common Lisp Implementation"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
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_SHA256="8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890"
|
|
TERMUX_PKG_DEPENDS="readline, libandroid-support"
|
|
TERMUX_PKG_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
|
|
}
|