wok-4.x diff tyrian/receipt @ rev 9553
unison: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 13:14:01 2011 +0200 (2011-04-10) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tyrian/receipt Sun Apr 10 13:14:01 2011 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tyrian" 1.7 +VERSION="21" 1.8 +CATEGORY="non-free" 1.9 +SHORT_DESC="Tyrian is a the DOS shoot-em-up;you need open-tyrian to run it." 1.10 +MAINTAINER="mallory@skyrock.com" 1.11 +BUILD_DEPENDS="wget" 1.12 +TARBALL="$PACKAGE$VERSION.zip" 1.13 +WEB_SITE="http://code.google.com/p/opentyrian/" 1.14 +WGET_URL="https://sites.google.com/a/camanis.net/opentyrian/tyrian/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + : 1.20 +} 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + mkdir -p $fs/usr/games/opentyrian 1.26 + cd $src 1.27 + for file in *; do 1.28 + [ "$file" = "${file%.exe}" ] || continue 1.29 + [ "$file" = "${file%.doc}" ] || continue 1.30 + cp $file $fs/usr/games/opentyrian 1.31 + done 1.32 +} 1.33 +