wok-6.x view spidermonkey/receipt @ rev 4607

Add fswebcam (tiny webcam viewer)
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:10:42 2009 +0000 (2009-12-15)
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 }