wok-current view spidermonkey/receipt @ rev 8400

syslinux: no more awk in shell tools (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 16:37:06 2011 +0100 (2011-02-05)
parents
children 6e152ae05ea6
line source
1 # SliTaz package receipt.
3 PACKAGE="spidermonkey"
4 VERSION="1.7.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Mozilla C implementation of Javascript"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS=""
10 SOURCE="js"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.mozilla.org/js/spidermonkey/"
13 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL"
14 TAGS="javascript"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 src=$WOK/$PACKAGE/$SOURCE/src
20 cd $src
21 make -f Makefile.ref DIST=../_pkg/usr all export
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
30 _pkg=$WOK/$PACKAGE/$SOURCE/_pkg
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
33 }