blob: b9280c8df235779f128e6ca0f542879f0ef4873c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Contributor: Taylor Venable <taylor@metasyntax.net>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
_pkgname='bigloo'
pkgname="${_pkgname}-devel"
epoch=10
_pkgver='4.2a'
_pkgsuffix='beta16Sep15'
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=('748c772790ca2720ce76b431115dce1a' 'c253eb5651c81204f6c16b89c3c2cb6a')
prepare() {
cd "${srcdir}/${_pkgname}${_pkgver}"
sed -ri 's/ ?-Wl,-rpath=[^"]+"/"/' configure
}
build() {
cd "${srcdir}/${_pkgname}${_pkgver}"
LANG=C
CFLAGS+=" -fPIC" ./configure --prefix=/usr \
--enable-ssl \
--enable-sqlite \
--enable-alsa \
--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" '{}' \;
}
|