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

Up: libmpd, libmpd-dev to 0.20.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 21 14:10:36 2010 +0000 (2010-09-21)
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 }