wok-stable annotate xlogo/receipt @ rev 4393
Add p2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 16 11:15:29 2009 +0200 (2009-10-16) |
parents | |
children | f5b04145b323 |
rev | line source |
---|---|
claudinei@4070 | 1 # SliTaz package receipt. |
claudinei@4070 | 2 |
claudinei@4070 | 3 PACKAGE="xlogo" |
claudinei@4070 | 4 VERSION="0.9.959" |
claudinei@4070 | 5 CATEGORY="games" |
claudinei@4070 | 6 SHORT_DESC="A logo interpreter written in java." |
claudinei@4070 | 7 MAINTAINER="claudinei@slitaz.org" |
claudinei@4070 | 8 DEPENDS="java6-jre" |
claudinei@4070 | 9 WEB_SITE="http://xlogo.tuxfamily.org" |
claudinei@4070 | 10 |
claudinei@4070 | 11 # Rules to configure and make the package. |
claudinei@4070 | 12 compile_rules() |
claudinei@4070 | 13 { |
claudinei@4070 | 14 wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar" |
claudinei@4070 | 15 mkdir $PACKAGE-$VERSION |
claudinei@4070 | 16 cd $src |
claudinei@4070 | 17 wget $wget_url |
claudinei@4070 | 18 } |
claudinei@4070 | 19 |
claudinei@4070 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@4070 | 21 genpkg_rules() |
claudinei@4070 | 22 { |
claudinei@4070 | 23 _pkg="$WOK/$PACKAGE/$PACKAGE-$VERSION" |
claudinei@4070 | 24 mkdir -p $fs/usr/lib/xlogo |
claudinei@4070 | 25 cp $_pkg/xlogo.jar $fs/usr/lib/xlogo |
claudinei@4070 | 26 } |
claudinei@4070 | 27 |