diff options
Diffstat (limited to 'extra/js/Pkgfile')
-rw-r--r-- | extra/js/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/js/Pkgfile b/extra/js/Pkgfile new file mode 100644 index 000000000..b83cd50d8 --- /dev/null +++ b/extra/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 $PKG/usr/bin +} |