wok-4.x view spidermonkey/receipt @ rev 6344

Up: liboil, liboil-dev to 0.3.17.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 14:21:08 2010 +0000 (2010-09-19)
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 }