summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/guile
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-28 07:34:48 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-28 07:34:48 (GMT)
commited63eead7302d38aa5a632b4e4b94a03f9a20202 (patch)
tree72d23893889630551800ed723c7182141924b701 /abs/extra-testing/guile
parent5d22477377dff808644fffa9566134a427db2772 (diff)
downloadlinhes_pkgbuild-ed63eead7302d38aa5a632b4e4b94a03f9a20202.zip
linhes_pkgbuild-ed63eead7302d38aa5a632b4e4b94a03f9a20202.tar.gz
linhes_pkgbuild-ed63eead7302d38aa5a632b4e4b94a03f9a20202.tar.bz2
crda and needed deps for those that need to set wireless country code.
Diffstat (limited to 'abs/extra-testing/guile')
-rw-r--r--abs/extra-testing/guile/PKGBUILD26
-rw-r--r--abs/extra-testing/guile/guile.install27
2 files changed, 53 insertions, 0 deletions
diff --git a/abs/extra-testing/guile/PKGBUILD b/abs/extra-testing/guile/PKGBUILD
new file mode 100644
index 0000000..3721e3f
--- /dev/null
+++ b/abs/extra-testing/guile/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 23033 2009-01-01 17:11:52Z jgc $
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=guile
+pkgver=1.8.6
+pkgrel=1
+pkgdesc="Guile is 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.6-7' 'texinfo')
+install=guile.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+options=('!libtool')
+md5sums=('9e23d3dbea0e89bab8a9acc6880150de')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --disable-networking \
+ --disable-error-on-warning || return 1
+ make LDFLAGS+="-lpthread" || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ rm -f "${pkgdir}/usr/share/info/dir"
+ gzip "${pkgdir}/usr/share/info"/* || return 1
+}
diff --git a/abs/extra-testing/guile/guile.install b/abs/extra-testing/guile/guile.install
new file mode 100644
index 0000000..8fab0b1
--- /dev/null
+++ b/abs/extra-testing/guile/guile.install
@@ -0,0 +1,27 @@
+files=(goops.info
+ guile-tut.info
+ guile.info
+ guile.info-1
+ guile.info-2
+ guile.info-3
+ guile.info-4
+ guile.info-5
+ guile.info-6
+ guile.info-7
+ r5rs.info)
+
+post_install() {
+ for f in "${files[@]}"; do
+ install-info usr/share/info/${f}.gz usr/share/info/dir 2>/dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for f in "${files[@]}"; do
+ install-info --delete usr/share/info/${f}.gz usr/share/info/dir 2> /dev/null
+ done
+}