wok diff tyrian/receipt @ rev 11336

Up: libpng (1.4.8)
author Alexander Medvedev <devl547@gmail.com>
date Fri Nov 25 09:54:50 2011 +0000 (2011-11-25)
parents
children 11579844d239
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tyrian/receipt	Fri Nov 25 09:54:50 2011 +0000
     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 +