44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
# Template file for 'clisp'
|
|
pkgname=clisp
|
|
version=2.49.92
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --disable-mmap --disable-rpath
|
|
--without-dynamic-modules $(vopt_with readline)"
|
|
hostmakedepends="ffcall"
|
|
makedepends="libsigsegv-devel $(vopt_if readline readline-devel)"
|
|
short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger"
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://gitlab.com/gnu-clisp/clisp"
|
|
distfiles="https://alpha.gnu.org/gnu/clisp/clisp-${version}.tar.bz2"
|
|
checksum=bd443a94aa9b02da4c4abbcecfc04ffff1919c0a8b0e7e35649b86198cd6bb89
|
|
nopie=yes
|
|
nocross=yes
|
|
lib32disabled=yes
|
|
disable_parallel_build=yes
|
|
build_options="readline"
|
|
build_options_default="readline"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl) broken="*** - MULTIPLE-VALUE-SETQ: variable EXTRA-FILE-TYPES has no value";;
|
|
esac
|
|
|
|
if [ "$XBPS_TARGET_WORDSIZE" == 32 ]; then
|
|
CFLAGS+=" -falign-functions=4"
|
|
fi
|
|
|
|
pre_configure() {
|
|
export FORCE_UNSAFE_CONFIGURE=1
|
|
}
|
|
|
|
do_build() {
|
|
# Need to increase the Limit
|
|
ulimit -s 16384
|
|
cd src
|
|
make
|
|
}
|
|
do_install() {
|
|
cd src
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|