wok-6.x annotate xlogo/receipt @ rev 14337
Add EXTRA_SOURCE_FILES variable to track sources files for the mirrors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 13 19:32:46 2013 +0200 (2013-04-13) |
parents | ad950661374c |
children | 23c3aed67cd9 |
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" |
pascal@14337 | 8 TARBALL="xlogo.jar" |
pankso@9634 | 9 WEB_SITE="http://xlogo.tuxfamily.org" |
pankso@9634 | 10 |
pascal@6407 | 11 DEPENDS="java-jre" |
pankso@9634 | 12 BUILD_DEPENDS="" |
claudinei@4070 | 13 |
claudinei@4070 | 14 # Rules to configure and make the package. |
claudinei@4070 | 15 compile_rules() |
claudinei@4070 | 16 { |
claudinei@4070 | 17 wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar" |
slaxemulator@10840 | 18 [ -f $SOURCES_REPOSITORY/xlogo.jar ] || |
slaxemulator@10840 | 19 wget $wget_url -P $SOURCES_REPOSITORY |
claudinei@4070 | 20 } |
claudinei@4070 | 21 |
claudinei@4070 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@4070 | 23 genpkg_rules() |
claudinei@4070 | 24 { |
claudinei@4070 | 25 mkdir -p $fs/usr/lib/xlogo |
slaxemulator@10840 | 26 cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo |
claudinei@4070 | 27 } |
claudinei@4070 | 28 |