summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStefan Husmann2015-06-08 20:27:23 +0200
committerStefan Husmann2015-06-08 20:27:23 +0200
commit71775f8e9d2bf8ed2d37e75a29b90d1e463a2a1e (patch)
treefaa1df1c75b2af86e84e34cbb3cf02164eb758b2 /PKGBUILD
downloadaur-71775f8e9d2bf8ed2d37e75a29b90d1e463a2a1e.tar.gz
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..3c9f1c8fc67e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,61 @@
+# Contributor: Taylor Venable <taylor@metasyntax.net>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+_pkgname='bigloo'
+pkgname="${_pkgname}-devel"
+epoch=9
+_pkgver='4.2a'
+_pkgsuffix='alpha29May15'
+pkgver="${_pkgver}_${_pkgsuffix}"
+pkgrel=1
+pkgdesc="Fast scheme compiler"
+arch=('i686' 'x86_64')
+url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
+license=('GPL' 'LGPL')
+depends=('openssl' 'sqlite3' 'avahi' 'libunistring' 'gmp' 'gstreamer0.10-base' 'mpg123' 'flac' 'libuv')
+makedepends=('zip' 'emacs')
+optdepends=('emacs: for bee'
+'java-environment: for compiling into jvm')
+provides=('bigloo=$pkgver')
+conflicts=('bigloo')
+options=('!makeflags' 'staticlibs' '!strip')
+install=bigloo.install
+source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${_pkgname}${_pkgver}-${_pkgsuffix}.tar.gz" 'satisfy-ldconfig.sh')
+md5sums=('246a741a81de07a64f8ed1a8413d2026'
+ 'c253eb5651c81204f6c16b89c3c2cb6a')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}${_pkgver}"
+ sed -ri 's/ ?-Wl,-rpath=[^"]+"/"/' configure
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}${_pkgver}"
+
+ CFLAGS+=" -fPIC" ./configure --prefix=/usr \
+ --enable-ssl \
+ --enable-sqlite \
+ --enable-gstreamer \
+ --enable-libuv --customlibuv=yes \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --docdir=/usr/share/doc/bigloo \
+ --strip=no \
+ --sharedcompiler=yes
+ make build compile-bee
+}
+
+check() {
+ cd "${srcdir}/${_pkgname}${_pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}${_pkgver}"
+ make DESTDIR="${pkgdir}" install install-bee
+ make -C manuals DESTDIR="${pkgdir}" install-bee
+ chmod 644 "${pkgdir}/usr/lib/${_pkgname}/${_pkgver%-*}"/*.a
+ # Slake ldconfig's thirst for symlinks.
+ find "${pkgdir}/usr/lib/${_pkgname}/${_pkgver%-*}" -type f -name '*_es-*.so' \
+ -exec "${srcdir}/satisfy-ldconfig.sh" '{}' \;
+}