summaryrefslogtreecommitdiff
path: root/extra/guile/PKGBUILD
blob: eafece87aa9a87bcd0dfc43903b85e287b31366c (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
# $Id: PKGBUILD 109127 2011-02-06 11:24:26Z andyrtr $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=guile
pkgver=1.8.8
pkgrel=1
pkgdesc="a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
arch=(i686 x86_64)
license=('GPL')
depends=('gmp' 'libtool' 'ncurses>=5.7' 'texinfo')
install=guile.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!libtool')
md5sums=('18661a8fdfef13e2fcb7651720aa53f3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
	--disable-static  \
	--disable-error-on-warning
  make LDFLAGS+="-lpthread"
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}