opt/clisp/Pkgfile

39 lines
981 B
Plaintext
Raw Normal View History

2012-10-30 22:40:28 +01:00
# Description: GNU CLisp is an ANSI Common Lisp Implementation.
2020-06-21 03:19:07 +02:00
# URL: https://clisp.cons.org/
2014-07-08 19:10:21 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: libsigsegv readline libffcall
2012-10-30 22:40:28 +01:00
name=clisp
2020-06-21 03:19:07 +02:00
version=2.49.93
2012-10-30 22:40:28 +01:00
release=1
2020-06-21 03:19:07 +02:00
#date=2018-02-18
source=(
#https://gitlab.com/gnu-clisp/clisp/-/archive/$name-$version-$date/$name-$name-$version-$date.tar.bz2
# new stable version from https://src.fedoraproject.org/rpms/clisp
https://gitlab.com/gnu-clisp/clisp/-/archive/c26de78733578fc38952d2485313065eba4f5caa/clisp-c26de78733578fc38952d2485313065eba4f5caa.tar.bz2
)
2012-10-30 22:40:28 +01:00
build() {
2020-06-21 03:19:07 +02:00
#cd $name-$name-$version-$date
cd $name-c26de78733578fc38952d2485313065eba4f5caa
2012-10-30 22:40:28 +01:00
FORCE_UNSAFE_CONFIGURE=1 \
2014-07-08 19:10:21 +02:00
./configure \
--prefix=/usr \
--with-readline \
--with-ffcall
2012-10-30 22:40:28 +01:00
2014-07-08 19:10:21 +02:00
cd src
2012-10-30 22:40:28 +01:00
2014-07-08 19:10:21 +02:00
./makemake \
--with-dynamic-ffi \
--with-ffcall \
--with-readline \
2018-02-21 10:26:50 +01:00
--prefix=/usr
2012-10-30 22:40:28 +01:00
2014-07-08 19:10:21 +02:00
make -j1
make -j1 DESTDIR=$PKG install
2012-10-30 22:40:28 +01:00
2014-07-08 19:10:21 +02:00
rm -r $PKG/usr/share/{doc,locale}
2012-10-30 22:40:28 +01:00
}