wok-current rev 3119
Add: spidermonkey(javascript C impl)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 18 17:44:16 2009 +0000 (2009-05-18) |
parents | 279e3851f876 |
children | f4cef882eac1 |
files | spidermonkey-dev/receipt spidermonkey/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/spidermonkey-dev/receipt Mon May 18 17:44:16 2009 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="spidermonkey-dev" 1.7 +VERSION="1.7.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="spidermonkey devel files" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +WANTED="spidermonkey" 1.12 +WEB_SITE="http://libproxy.googlecode.com" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib $fs/usr/include/js 1.18 + _pkg=$WOK/$WANTED/js/_pkg 1.19 + cp -a $_pkg/usr/include/* $fs/usr/include/js 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/ 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/spidermonkey/receipt Mon May 18 17:44:16 2009 +0000 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="spidermonkey" 2.7 +VERSION="1.7.0" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="Mozilla C implementation of Javascript" 2.10 +MAINTAINER="jozee@slitaz.org" 2.11 +DEPENDS="" 2.12 +BUILD_DEPENDS="" 2.13 +SOURCE="js" 2.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://www.mozilla.org/js/spidermonkey/" 2.16 +WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL" 2.17 +TAGS="javascript" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + src=$WOK/$PACKAGE/$SOURCE/src 2.23 + cd $src 2.24 + make -f Makefile.ref DIST=../_pkg/usr all export 2.25 + 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + 2.33 + _pkg=$WOK/$PACKAGE/$SOURCE/_pkg 2.34 + cp -a $_pkg/usr/bin $fs/usr 2.35 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib 2.36 +}