wok-6.x rev 8565

imported patch get/tyrian
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 23b7c2a99749
children 7e8df9be141c
files tyrian/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tyrian/receipt	Sun Feb 13 22:57:56 2011 +0100
     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 +