wok-6.x annotate jclic/receipt @ rev 4354
wqy-bitmapfont: UP post_install
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Sun Oct 04 09:50:24 2009 +0000 (2009-10-04) |
parents | |
children | 4466fa74bc06 |
rev | line source |
---|---|
claudinei@4063 | 1 # SliTaz package receipt. |
claudinei@4063 | 2 |
claudinei@4063 | 3 PACKAGE="jclic" |
claudinei@4063 | 4 VERSION="0.2.0.6" |
claudinei@4063 | 5 CATEGORY="games" |
claudinei@4063 | 6 SHORT_DESC="A plataform for the creation, playing and evaluation of multimedia educational activities" |
claudinei@4063 | 7 MAINTAINER="claudinei@slitaz.org" |
claudinei@4063 | 8 DEPENDS="java6-jre" |
claudinei@4063 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
claudinei@4063 | 10 WEB_SITE="http://clic.xtec.cat/en/jclic" |
claudinei@4063 | 11 WGET_URL="http://clic.xtec.cat/dist/jclic/$TARBALL" |
claudinei@4063 | 12 |
claudinei@4063 | 13 # Rules to configure and make the package. |
claudinei@4063 | 14 compile_rules() |
claudinei@4063 | 15 { |
claudinei@4063 | 16 cd $src |
claudinei@4063 | 17 rm -rf icons |
claudinei@4063 | 18 } |
claudinei@4063 | 19 |
claudinei@4063 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@4063 | 21 genpkg_rules() |
claudinei@4063 | 22 { |
claudinei@4063 | 23 _pkg="$WOK/$PACKAGE/$PACKAGE-$VERSION" |
claudinei@4063 | 24 STUFF="$WOK/$PACKAGE/stuff" |
claudinei@4063 | 25 mkdir -p $fs/usr/lib/jclic $fs/usr/share/pixmaps $fs/usr/share/applications |
claudinei@4063 | 26 cp -a $_pkg/* $fs/usr/lib/jclic |
claudinei@4063 | 27 cp $STUFF/jclicauthor.desktop $fs/usr/share/applications |
claudinei@4063 | 28 cp $STUFF/jclicreports.desktop $fs/usr/share/applications |
claudinei@4063 | 29 cp $STUFF/author.png $fs/usr/share/pixmaps |
claudinei@4063 | 30 cp $STUFF/reports.png $fs/usr/share/pixmaps |
claudinei@4063 | 31 } |
claudinei@4063 | 32 |