wok-current annotate spidermonkey/receipt @ rev 4303
Up avidemux (2.5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 10:21:40 2009 +0200 (2009-09-28) |
parents | |
children | 6e152ae05ea6 |
rev | line source |
---|---|
jozee@3119 | 1 # SliTaz package receipt. |
jozee@3119 | 2 |
jozee@3119 | 3 PACKAGE="spidermonkey" |
jozee@3119 | 4 VERSION="1.7.0" |
jozee@3119 | 5 CATEGORY="multimedia" |
jozee@3119 | 6 SHORT_DESC="Mozilla C implementation of Javascript" |
jozee@3119 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3119 | 8 DEPENDS="" |
jozee@3119 | 9 BUILD_DEPENDS="" |
jozee@3119 | 10 SOURCE="js" |
jozee@3119 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
jozee@3119 | 12 WEB_SITE="http://www.mozilla.org/js/spidermonkey/" |
jozee@3119 | 13 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL" |
jozee@3119 | 14 TAGS="javascript" |
jozee@3119 | 15 |
jozee@3119 | 16 # Rules to configure and make the package. |
jozee@3119 | 17 compile_rules() |
jozee@3119 | 18 { |
jozee@3119 | 19 src=$WOK/$PACKAGE/$SOURCE/src |
jozee@3119 | 20 cd $src |
jozee@3119 | 21 make -f Makefile.ref DIST=../_pkg/usr all export |
jozee@3119 | 22 |
jozee@3119 | 23 } |
jozee@3119 | 24 |
jozee@3119 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3119 | 26 genpkg_rules() |
jozee@3119 | 27 { |
jozee@3119 | 28 mkdir -p $fs/usr/lib |
jozee@3119 | 29 |
jozee@3119 | 30 _pkg=$WOK/$PACKAGE/$SOURCE/_pkg |
jozee@3119 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@3119 | 32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
jozee@3119 | 33 } |