summaryrefslogtreecommitdiff
path: root/extra/guile1.8
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-09 00:51:01 -0700
committerroot <root@rshg054.dnsready.net>2013-06-09 00:51:01 -0700
commit7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (patch)
tree9ec661d7828b93bd4d24723647adc0701d87eda2 /extra/guile1.8
parente90166c70f3a2bd27d8c914491f7e0510855fd3f (diff)
Sun Jun 9 00:50:45 PDT 2013
Diffstat (limited to 'extra/guile1.8')
-rw-r--r--extra/guile1.8/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/guile1.8/PKGBUILD b/extra/guile1.8/PKGBUILD
new file mode 100644
index 000000000..00991e313
--- /dev/null
+++ b/extra/guile1.8/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 188080 2013-06-08 11:18:25Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+
+pkgname=guile1.8
+pkgver=1.8.8
+pkgrel=3
+pkgdesc='Portable, embeddable Scheme implementation written in C. Legacy branch.'
+url="http://www.gnu.org/software/guile/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
+source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-$pkgver.tar.gz)
+options=('!libtool')
+md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
+
+build() {
+ cd guile-$pkgver
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-error-on-warning \
+ --program-suffix=1.8
+ make LDFLAGS+="-lpthread"
+}
+
+package() {
+ cd guile-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "$pkgdir"/usr/share/info
+ sed -i '1s/guile/guile1.8/' -i "$pkgdir"/usr/bin/guile-config1.8
+ mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile18.m4
+}