blob: edecd7e522f4dcca9fe40263c7fecc0082282368 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 203061 2014-01-03 09:08:54Z bpiotrowski $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=clisp
pkgver=2.49
pkgrel=4
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://clisp.cons.org/"
depends=('readline' 'libsigsegv')
provides=('common-lisp')
makedepends=('ffcall')
options=('!makeflags' '!emptydirs')
source=("http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2")
md5sums=('1962b99d5e530390ec3829236d168649')
build() {
cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr --with-readline --with-ffcall src
cd src
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
# Dirty hack for using arimips64 instead of arimips.c
[ $CARCH = "mips64el" ] && ln -s arimips64.c arimips.c
make
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
make
}
check() {
cd $srcdir/${pkgname}-${pkgver}/src
make check
}
package() {
cd $srcdir/${pkgname}-${pkgver}/src
make DESTDIR=$pkgdir install
}
|