commit 375d687ecebe7202b8039a834f21fca71cf64717 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Sun Sep 29 18:21:48 2013 +0900 spidermonkey: Add static library diff --git a/spidermonkey/.footprint b/spidermonkey/.footprint index 871b227..795f0d1 100644 --- a/spidermonkey/.footprint +++ b/spidermonkey/.footprint @@ -98,6 +98,7 @@ drwxr-xr-x root/root usr/include/js/ -rwxr-xr-x root/root usr/include/js/njcpudetect.h -rwxr-xr-x root/root usr/include/js/prmjtime.h drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libmozjs185-1.0.a lrwxrwxrwx root/root usr/lib/libmozjs185.so -> libmozjs185.so.1.0.0 lrwxrwxrwx root/root usr/lib/libmozjs185.so.1.0 -> libmozjs185.so.1.0.0 -rwxr-xr-x root/root usr/lib/libmozjs185.so.1.0.0 diff --git a/spidermonkey/Pkgfile b/spidermonkey/Pkgfile index b67670c..3ae5ffe 100644 --- a/spidermonkey/Pkgfile +++ b/spidermonkey/Pkgfile @@ -5,22 +5,18 @@ name=spidermonkey version=1.8.5 -release=1 +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 \ - --disable-static + --prefix=/usr make make DESTDIR=$PKG install - # disable-static doesn't work - rm $PKG/usr/lib/libmozjs185-1.0.a - # 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