PKGBUILDs/extra/guile/PKGBUILD

35 lines
898 B
Bash
Raw Normal View History

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