blob: 5e6fe18ef43886c8ae4c4951448ea014a55ec6af (
plain)
1 # Description: Javascript engine library
2 # URL: http://www.mozilla.org/js/spidermonkey/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: python zip
5
6 name=spidermonkey
7 version=1.8.5
8 release=2
9 source=(http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz)
10
11 build() {
12 cd js-$version/js/src
13
14 ./configure \
15 --prefix=/usr
16
17 make
18 make DESTDIR=$PKG install
19
20 # symlinks are not relative, fix that
21 rm -f $PKG/usr/lib/libmozjs185.so{,.1.0}
22 ln -s libmozjs185.so.1.0.0 $PKG/usr/lib/libmozjs185.so
23 ln -s libmozjs185.so.1.0.0 $PKG/usr/lib/libmozjs185.so.1.0
24 }
|