summaryrefslogtreecommitdiffstats
path: root/main/guile
diff options
context:
space:
mode:
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 e09000f4b..8850b0f1f 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
}