wok annotate xlogo/receipt @ rev 12161
Fix several deps according to issue126
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 21:59:51 2012 +0100 (2012-03-17) |
parents | e2bcd8d58be1 |
children | b2a632fc9587 |
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" |
pankso@9634 | 8 WEB_SITE="http://xlogo.tuxfamily.org" |
pankso@9634 | 9 |
pascal@6407 | 10 DEPENDS="java-jre" |
pankso@9634 | 11 BUILD_DEPENDS="" |
claudinei@4070 | 12 |
claudinei@4070 | 13 # Rules to configure and make the package. |
claudinei@4070 | 14 compile_rules() |
claudinei@4070 | 15 { |
claudinei@4070 | 16 wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar" |
slaxemulator@10840 | 17 [ -f $SOURCES_REPOSITORY/xlogo.jar ] || |
slaxemulator@10840 | 18 wget $wget_url -P $SOURCES_REPOSITORY |
claudinei@4070 | 19 } |
claudinei@4070 | 20 |
claudinei@4070 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@4070 | 22 genpkg_rules() |
claudinei@4070 | 23 { |
claudinei@4070 | 24 mkdir -p $fs/usr/lib/xlogo |
slaxemulator@10840 | 25 cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo |
claudinei@4070 | 26 } |
claudinei@4070 | 27 |