wok-next annotate spidermonkey/receipt @ rev 21422
updated puzzles again ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:44:20 2020 +0100 (2020-04-27) |
parents | 8e1b2a143eb3 |
children |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
jozee@3119 | 2 |
jozee@3119 | 3 PACKAGE="spidermonkey" |
claudinei@9177 | 4 VERSION="1.8.0-rc1" |
jozee@3119 | 5 CATEGORY="multimedia" |
jozee@3119 | 6 SHORT_DESC="Mozilla C implementation of Javascript" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15290 | 8 LICENSE="MPL GPL2 LGPL2.1" |
al@20949 | 9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey" |
al@20459 | 10 |
al@20459 | 11 TARBALL="js-$VERSION.tar.gz" |
jozee@3119 | 12 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL" |
jozee@3119 | 13 |
pankso@9771 | 14 BUILD_DEPENDS="nspr-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pankso@9771 | 16 |
al@20656 | 17 COOKOPTS="skip-log-errors" |
al@20656 | 18 |
al@20459 | 19 compile_rules() { |
gokhlayeh@8689 | 20 cd $src/src |
jozee@3119 | 21 |
gokhlayeh@8689 | 22 # Fix from Archlinux |
gokhlayeh@8689 | 23 # http://projects.archlinux.org/svntogit/community.git/tree/spidermonkey/trunk/PKGBUILD |
gokhlayeh@8689 | 24 sed -i 's|include|include/js|' rules.mk || return 1 |
gokhlayeh@8689 | 25 # FS#16673 |
al@21020 | 26 export CFLAGS="$CFLAGS -DJS_C_STRINGS_ARE_UTF8" |
gokhlayeh@8689 | 27 # build - threadsafe |
gokhlayeh@8689 | 28 make -j1 -f Makefile.ref BUILD_OPT=1 JS_THREADSAFE=1 \ |
al@21020 | 29 DIST=$install/usr all export |
jozee@3119 | 30 } |
jozee@3119 | 31 |
al@20459 | 32 genpkg_rules() { |
al@20459 | 33 case $PACKAGE in |
al@20459 | 34 spidermonkey) |
al@20656 | 35 copy @std |
al@20459 | 36 DEPENDS="nspr" |
al@20459 | 37 TAGS="javascript" |
al@20459 | 38 ;; |
al@20459 | 39 *-dev) |
al@20656 | 40 copy @dev |
al@20459 | 41 ;; |
al@20459 | 42 esac |
jozee@3119 | 43 } |