void-packages/srcpkgs/clisp/template

37 lines
944 B
Bash

# Template file for 'clisp'
pkgname=clisp
version=2.49
revision=4
# possibly works elsewhere but not in an ancient 2010 release
archs="x86_64* i686*"
build_style=configure
configure_args="--prefix=/usr --disable-mmap --without-dynamic-modules
$(vopt_with readline)"
short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://clisp.cons.org"
makedepends="ffcall libsigsegv-devel $(vopt_if readline readline-devel)"
distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2"
checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890
case "${XBPS_TARGET_MACHINE}" in
i686*) CFLAGS="-falign-functions=4" ;;
esac
nopie=yes
nocross=yes
lib32disabled=yes
disable_parallel_build=yes
build_options="readline"
do_build() {
# Need to increase the Limit
ulimit -s 16384
cd src
make
}
do_install() {
cd src
make DESTDIR=${DESTDIR} install
}