summaryrefslogtreecommitdiff
path: root/extra/clisp/PKGBUILD
blob: a6451270c3e634c9b3f555b8d50aac7cf7f35edd (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
# $Id: PKGBUILD 90068 2010-09-07 13:27:59Z juergen $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=clisp
pkgver=2.49
pkgrel=1
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
arch=('i686' 'x86_64')
license=('GPL')
url="http://clisp.cons.org/"
depends=('readline' 'libsigsegv')
provides=('common-lisp')
makedepends=('ffcall')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2)
md5sums=('1962b99d5e530390ec3829236d168649')

build() {
  cd $srcdir/${pkgname}-${pkgver}
  unset CFLAGS CXXFLAGS
  ./configure --prefix=/usr --with-readline --with-ffcall src
  cd src
  ./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
  make || return 1
  sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
  make || return 1
  make DESTDIR=$pkgdir install || return 1
}