wok-next view js/receipt @ rev 19840
Up librsvg (split more), make-slitaz-icons (use rsvg-convert instead of inkscape), faenza-icon-theme (keep original theme), slitaz-icons-faenza (combine light & dark).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 14 15:53:27 2017 +0300 (2017-08-14) |
parents | |
children | ab7c63b80420 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="js"
4 VERSION="17.0.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="Mozilla's JavaScript engine written in C/C++"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MPL2"
9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"
11 TARBALL="mozjs$VERSION.tar.gz"
12 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL"
14 BUILD_DEPENDS="perl python nspr-dev zlib-dev"
15 SPLIT="js-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd js/src &&
22 sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl &&
24 ./configure \
25 --enable-readline \
26 --enable-threadsafe \
27 --with-system-ffi \
28 --with-system-nspr \
29 $CONFIGURE_ARGS &&
30 make && make install &&
32 find $install/usr/include/js-${VERSION%.*}/ \
33 $install/usr/lib/libmozjs-${VERSION%.*}.a \
34 $install/usr/lib/pkgconfig/mozjs-${VERSION%.*}.pc \
35 -type f -exec chmod -v 644 '{}' \;
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 case $PACKAGE in
42 js) copy @std; DEPENDS="ncurses nspr readline zlib";;
43 js-dev) copy @dev; DEPENDS="js nspr-dev";;
44 esac
45 }