wok-6.x annotate tyrian/receipt @ rev 19692
ntfs-3g: update genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 12:26:10 2017 +0100 (2017-02-13) |
parents | 11579844d239 |
children | 6135577f4d08 |
rev | line source |
---|---|
gokhlayeh@8565 | 1 # SliTaz package receipt. |
gokhlayeh@8565 | 2 |
gokhlayeh@8565 | 3 PACKAGE="tyrian" |
gokhlayeh@8565 | 4 VERSION="21" |
gokhlayeh@8565 | 5 CATEGORY="non-free" |
gokhlayeh@8565 | 6 SHORT_DESC="Tyrian is a the DOS shoot-em-up;you need open-tyrian to run it." |
pascal@14277 | 7 MAINTAINER="mallory@sweetpeople.org" |
gokhlayeh@8565 | 8 BUILD_DEPENDS="wget" |
gokhlayeh@8565 | 9 TARBALL="$PACKAGE$VERSION.zip" |
gokhlayeh@8565 | 10 WEB_SITE="http://code.google.com/p/opentyrian/" |
gokhlayeh@8565 | 11 WGET_URL="https://sites.google.com/a/camanis.net/opentyrian/tyrian/$TARBALL" |
gokhlayeh@8565 | 12 |
pascal@15600 | 13 LICENSE="other" |
pascal@15600 | 14 |
gokhlayeh@8565 | 15 # Rules to configure and make the package. |
gokhlayeh@8565 | 16 compile_rules() |
gokhlayeh@8565 | 17 { |
gokhlayeh@8565 | 18 : |
gokhlayeh@8565 | 19 } |
gokhlayeh@8565 | 20 |
gokhlayeh@8565 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8565 | 22 genpkg_rules() |
gokhlayeh@8565 | 23 { |
gokhlayeh@8565 | 24 mkdir -p $fs/usr/games/opentyrian |
gokhlayeh@8565 | 25 cd $src |
gokhlayeh@8565 | 26 for file in *; do |
gokhlayeh@8565 | 27 [ "$file" = "${file%.exe}" ] || continue |
gokhlayeh@8565 | 28 [ "$file" = "${file%.doc}" ] || continue |
gokhlayeh@8565 | 29 cp $file $fs/usr/games/opentyrian |
gokhlayeh@8565 | 30 done |
gokhlayeh@8565 | 31 } |
gokhlayeh@8565 | 32 |