2016-02-24 01:27:23 +01:00
|
|
|
# Description: GNU CLisp is an ANSI Common Lisp Implementation.
|
2017-01-30 23:55:06 +01:00
|
|
|
# URL: http://clisp.cons.org/
|
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on: ffcall libsigsegv
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=clisp
|
|
|
|
version=2.49
|
|
|
|
release=2
|
|
|
|
source=(http://ftp.gnu.org/pub/gnu/clisp/latest/$name-$version.tar.bz2 \
|
|
|
|
clisp-gcc5.patch)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i ../clisp-gcc5.patch
|
2017-01-30 23:55:06 +01:00
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
sed -i '/socket/d' tests/tests.lisp
|
|
|
|
|
|
|
|
./configure --prefix=/usr --with-readline --with-ffcall src
|
|
|
|
cd src
|
|
|
|
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
|
|
|
|
make || make -j1
|
|
|
|
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
|
|
|
|
make || make -j1
|
|
|
|
|
|
|
|
make -j1 DESTDIR=$PKG install
|
|
|
|
|
|
|
|
}
|