summaryrefslogtreecommitdiff
path: root/spidermonkey
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2013-09-29 18:21:48 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2013-09-29 18:21:48 +0900
commit375d687ecebe7202b8039a834f21fca71cf64717 (patch)
tree589a33a964a4fd29edf1fe1eafd31d2ba2b9d256 /spidermonkey
parentf9d045448fc6d94922ab413f74d5f0ecf225c872 (diff)
downloadopt-375d687ecebe7202b8039a834f21fca71cf64717.tar.gz
opt-375d687ecebe7202b8039a834f21fca71cf64717.tar.xz
spidermonkey: Add static library
Diffstat (limited to 'spidermonkey')
-rw-r--r--spidermonkey/.footprint1
-rw-r--r--spidermonkey/Pkgfile8
2 files changed, 3 insertions, 6 deletions
diff --git a/spidermonkey/.footprint b/spidermonkey/.footprint
index 871b22758..795f0d163 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 b67670c18..3ae5ffe7d 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

Generated by cgit