aboutsummaryrefslogtreecommitdiffstats
path: root/main/guile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-19 13:33:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-19 13:33:40 +0000
commit26fa467fd03461609c57504d44fe8de6f2b8b809 (patch)
treeb413c8c8271f3d30926c05d13a1423d4d21ab901 /main/guile
parent441b7bd9acace99104df7342f02bbb1352c50470 (diff)
downloadaports-26fa467fd03461609c57504d44fe8de6f2b8b809.tar.bz2
aports-26fa467fd03461609c57504d44fe8de6f2b8b809.tar.xz
main/guile: rebuild against gmp5
Diffstat (limited to 'main/guile')
-rw-r--r--main/guile/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/guile/APKBUILD b/main/guile/APKBUILD
index e09000f4b4..8850b0f1fa 100644
--- a/main/guile/APKBUILD
+++ b/main/guile/APKBUILD
@@ -1,22 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=guile
pkgver=1.8.7
-pkgrel=1
+pkgrel=2
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc"
-makedepends="gmp-dev libtool ncurses-dev texinfo"
+makedepends="gmp5-dev libtool ncurses-dev texinfo"
depends=
install=
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--disable-error-on-warning || return 1
make LDFLAGS+="-lpthread" || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}