wok-6.x diff spidermonkey/receipt @ rev 7228
Up: cups to 1.4.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 12 01:03:01 2010 +0000 (2010-11-12) |
parents | |
children | 6e152ae05ea6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/spidermonkey/receipt Fri Nov 12 01:03:01 2010 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="spidermonkey" 1.7 +VERSION="1.7.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Mozilla C implementation of Javascript" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="" 1.13 +SOURCE="js" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://www.mozilla.org/js/spidermonkey/" 1.16 +WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL" 1.17 +TAGS="javascript" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + src=$WOK/$PACKAGE/$SOURCE/src 1.23 + cd $src 1.24 + make -f Makefile.ref DIST=../_pkg/usr all export 1.25 + 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + 1.33 + _pkg=$WOK/$PACKAGE/$SOURCE/_pkg 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib 1.36 +}