wok-stable diff spidermonkey/receipt @ rev 7910
Added DESTDIR=PWD/_pkg to acl. Needed for it to make packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 12:07:10 2011 +0000 (2011-01-09) |
parents | |
children | 6e152ae05ea6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/spidermonkey/receipt Sun Jan 09 12:07:10 2011 +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 +}