blob: 7778b1efe50bb89ee96eb3bdd6d6e60c5844b15b (
plain)
1 # Description: Mozilla's JavaScript engine
2 # URL: https://spidermonkey.dev/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: autoconf-2.13 readline zlib nspr python3 rust
5
6 name=mozjs78
7 version=78.15.0
8 release=1
9 source=(https://archive.mozilla.org/pub/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz)
10
11 build() {
12 cd firefox-$version
13
14 mkdir obj ; cd obj
15 ../js/src/configure \
16 --prefix=/usr \
17 --disable-jemalloc \
18 --disable-debug-symbols \
19 --disable-optimize \
20 --enable-readline \
21 --with-intl-api \
22 --with-system-nspr \
23 --with-system-zlib
24
25 make
26 make DESTDIR=$PKG install
27
28 rm $PKG/usr/lib/libjs_static.ajs
29 chmod -x $PKG/usr/lib/pkgconfig/*
30 }
|