wok-current view tyrian/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | |
children | 11579844d239 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tyrian"
4 VERSION="21"
5 CATEGORY="non-free"
6 SHORT_DESC="Tyrian is a the DOS shoot-em-up;you need open-tyrian to run it."
7 MAINTAINER="mallory@skyrock.com"
8 BUILD_DEPENDS="wget"
9 TARBALL="$PACKAGE$VERSION.zip"
10 WEB_SITE="http://code.google.com/p/opentyrian/"
11 WGET_URL="https://sites.google.com/a/camanis.net/opentyrian/tyrian/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 :
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/games/opentyrian
23 cd $src
24 for file in *; do
25 [ "$file" = "${file%.exe}" ] || continue
26 [ "$file" = "${file%.doc}" ] || continue
27 cp $file $fs/usr/games/opentyrian
28 done
29 }