PKGBUILDs/extra/guile/PKGBUILD
2012-02-24 10:33:50 -05:00

34 lines
898 B
Bash

# $Id: PKGBUILD 109127 2011-02-06 11:24:26Z andyrtr $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jan de Groot <jgc@archlinux.org>
plugrel=1
pkgname=guile
pkgver=1.8.8
pkgrel=2
pkgdesc="a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
arch=(i686 x86_64)
license=('GPL')
depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
install=guile.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
arm.patch)
options=('!libtool')
md5sums=('18661a8fdfef13e2fcb7651720aa53f3'
'6c02500d12b732ecf9117fb99e9cb9f6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/arm.patch"
./configure --prefix=/usr \
--disable-static \
--disable-error-on-warning
make LDFLAGS+="-lpthread"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}