PKGBUILDs/extra/bigloo/PKGBUILD
2009-10-18 22:17:58 -05:00

27 lines
947 B
Bash

# Contributor: John Proctor <jproctor@prium.net>
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=bigloo
pkgver=3.2a_2
pkgrel=1
pkgdesc="Fast scheme compiler"
arch=('arm')
license=('GPL' 'LGPL')
url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
depends=('openssl' 'sqlite3' 'gmp' 'texinfo')
makedepends=('java-environment')
options=('!makeflags')
install=bigloo.install
source=(ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${pkgname}${pkgver%_*}-${pkgver##*_}.tar.gz)
md5sums=('f8cfd4b6c59c585e8ddea086a9fbd385')
build() {
cd ${srcdir}/${pkgname}${pkgver%_*}-${pkgver##*_}
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/bigloo \
--dotnet=no --javaprefix=/opt/java/bin || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
make -C manuals DESTDIR=${pkgdir} install-man-bee || return 1
rm ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/bigloo*
}