summaryrefslogtreecommitdiffstats
path: root/js/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-07-24 15:12:28 +0200
committerpiernov <piernov@piernov.org>2011-07-24 15:12:28 +0200
commitf0291a311db041c1fe3fe5db9605a29bf455fb54 (patch)
tree9803e00bf338bb9a923025e2782b25e3ba9c4516 /js/Pkgfile
parent5fd0f4488cd29700181f7c78ed2f89fc5a331319 (diff)
downloadgnome3-f0291a311db041c1fe3fe5db9605a29bf455fb54.tar.gz
gnome3-f0291a311db041c1fe3fe5db9605a29bf455fb54.tar.bz2
gnome3-f0291a311db041c1fe3fe5db9605a29bf455fb54.tar.xz
gnome3-f0291a311db041c1fe3fe5db9605a29bf455fb54.zip
js 1.8.5-1 ajout port
Diffstat (limited to 'js/Pkgfile')
-rw-r--r--js/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/js/Pkgfile b/js/Pkgfile
new file mode 100644
index 0000000..6f49d0a
--- /dev/null
+++ b/js/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Intepreteur et bibliothèques JavaScript
+# URL: https://developer.mozilla.org/En/SpiderMonkey
+# Maintainer: NutyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: nspr,python2,zip
+# Run on: nspr,python2,zip
+
+name=js
+version=1.8.5
+release=1
+
+source=(http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
+ js185-destdir.patch)
+
+build() {
+ cd $name-$version/js/src
+ patch -p0 < $SRC/js185-destdir.patch
+ ./configure --prefix=/usr \
+ --with-system-nspr \
+ --enable-threadsafe
+ make
+ make DESTDIR=$PKG install
+ install -m 0755 shell/js ${pkgdir}/usr/bin
+}