Commit 4a113e5c authored by Sören Tempel's avatar Sören Tempel

testing/clisp: move from unmaintained

parent c6e24170
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=clisp
pkgver=2.49
pkgrel=1
pkgrel=2
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
url="http://clisp.cons.org/"
arch=""
arch="x86 x86_64"
license="GPL"
depends=""
depends_dev="readline-dev libsigsegv-dev ffcall ncurses-dev"
depends_dev="libsigsegv-dev ffcall ncurses-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/clisp/clisp-$pkgver.tar.bz2
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
no-page.h.patch"
_builddir="$srcdir"/clisp-$pkgver
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
default_prepare || return 1
update_config_sub || return 1
}
build() {
cd "$_builddir"
cd "$builddir"
ulimit -s 16384
_configure="--prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi \
--mandir=/usr/share/man --infodir=/usr/share/info"
_configure="--prefix=/usr \
--with-ffcall \
--with-dynamic-ffi \
--without-dynamic-modules \
--mandir=/usr/share/man \
--infodir=/usr/share/info"
./configure $_configure || return 1
cd src
./makemake $_configure > Makefile
make -j1 || return 1
}
package() {
cd "$_builddir"/src
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"/src
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="1962b99d5e530390ec3829236d168649 clisp-2.49.tar.bz2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment