wok-next view spidermonkey/receipt @ rev 3124
Up: ntp (4.2.4p7) [security fix]
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 19 14:56:15 2009 +0200 (2009-05-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 }