summaryrefslogtreecommitdiffstats
path: root/js/Pkgfile
blob: 2d953e4613bf2317a7e7ad0cbac1f9e4c6d0d111 (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,zip
# Run on: nspr,zip

name=js
version=1.8.5
release=2

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
}