blob: b5bf67735df6c574d07864acb512cd598e039af0 (
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=14
_pkgver='4.3a'
_pkgsuffix='alpha05Apr16'
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' 'libpulse' 'libuv' 'gstreamer0.10-base' 'mpg123' 'flac')
makedepends=('zip' 'emacs')
optdepends=('emacs: for bee'
'java-environment: for compiling into jvm')
provides=('bigloo=$pkgver')
conflicts=('bigloo')
options=('!makeflags' 'libtool' 'staticlibs' '!strip')
install=bigloo.install
source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${_pkgname}${_pkgver}-${_pkgsuffix}.tar.gz" "satisfy-ldconfig.sh")
md5sums=('1ba665d02237b8ad11ce0d7337dc19fd'
'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-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" '{}' \;
}
|