25 lines
586 B
Plaintext
25 lines
586 B
Plaintext
# Description: Javascript engine library
|
|
# URL: http://www.mozilla.org/js/spidermonkey/
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: python zip
|
|
|
|
name=spidermonkey
|
|
version=1.8.5
|
|
release=2
|
|
source=(http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz)
|
|
|
|
build() {
|
|
cd js-$version/js/src
|
|
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
# symlinks are not relative, fix that
|
|
rm -f $PKG/usr/lib/libmozjs185.so{,.1.0}
|
|
ln -s libmozjs185.so.1.0.0 $PKG/usr/lib/libmozjs185.so
|
|
ln -s libmozjs185.so.1.0.0 $PKG/usr/lib/libmozjs185.so.1.0
|
|
}
|