summaryrefslogtreecommitdiffstats
path: root/js/Pkgfile
blob: b83cd50d8f4fe19126615e1b19e9d5e5227f11a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}