wok-current annotate xlogo/receipt @ rev 5555
smbwebclient, squashfs, xlogo: cache extra wget'd files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 23:05:31 2010 +0200 (2010-05-13) |
parents | e991179fb48c |
children | dc0644f601c0 |
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" |
pascal@5555 | 15 [ -f $SOURCES_REPOSITORY/xlogo.jar ] || |
pascal@5555 | 16 wget $wget_url -P $SOURCES_REPOSITORY |
claudinei@4070 | 17 } |
claudinei@4070 | 18 |
claudinei@4070 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@4070 | 20 genpkg_rules() |
claudinei@4070 | 21 { |
claudinei@4070 | 22 mkdir -p $fs/usr/lib/xlogo |
pascal@5555 | 23 cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo |
claudinei@4070 | 24 } |
claudinei@4070 | 25 |