42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'clisp'
|
|
pkgname=clisp
|
|
version=2.49
|
|
revision=5
|
|
# possibly works elsewhere but not in an ancient 2010 release
|
|
archs="x86_64* i686*"
|
|
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="http://clisp.cons.org"
|
|
distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2"
|
|
checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890
|
|
nopie=yes
|
|
nocross=yes
|
|
lib32disabled=yes
|
|
disable_parallel_build=yes
|
|
build_options="readline"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl) broken="*** - MULTIPLE-VALUE-SETQ: variable EXTRA-FILE-TYPES has no value";;
|
|
esac
|
|
|
|
CFLAGS="-mtune=generic"
|
|
if [ "$XBPS_TARGET_WORDSIZE" == 32 ]; then
|
|
CFLAGS+=" -falign-functions=4"
|
|
fi
|
|
|
|
do_build() {
|
|
# Need to increase the Limit
|
|
ulimit -s 16384
|
|
cd src
|
|
make
|
|
}
|
|
do_install() {
|
|
cd src
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|