wok-6.x annotate opentyrian/receipt @ rev 20801
updated collectd, collectd-apache and collectd-dev (5.1.0 -> 5.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 15 15:54:04 2019 +0100 (2019-02-15) |
parents | cfc6ddf8de74 |
children | f96e26cdfd7a |
rev | line source |
---|---|
gokhlayeh@8566 | 1 # SliTaz package receipt. |
gokhlayeh@8566 | 2 |
gokhlayeh@8566 | 3 PACKAGE="opentyrian" |
gokhlayeh@8566 | 4 VERSION="r886" |
gokhlayeh@8566 | 5 CATEGORY="games" |
gokhlayeh@8566 | 6 SHORT_DESC="OpenTyrian is a port of the DOS shoot-em-up Tyrian" |
pascal@14277 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@20674 | 9 WEB_SITE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" |
pascal@15661 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15001 | 11 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" |
pascal@15001 | 12 |
gokhlayeh@8566 | 13 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian" |
gokhlayeh@8566 | 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial" |
gokhlayeh@8566 | 15 |
gokhlayeh@8566 | 16 # Rules to configure and make the package. |
gokhlayeh@8566 | 17 compile_rules() |
gokhlayeh@8566 | 18 { |
gokhlayeh@8566 | 19 cd $src |
gokhlayeh@8566 | 20 make release |
gokhlayeh@8566 | 21 } |
gokhlayeh@8566 | 22 |
gokhlayeh@8566 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8566 | 24 genpkg_rules() |
gokhlayeh@8566 | 25 { |
gokhlayeh@8566 | 26 mkdir -p $fs/usr/bin $fs/usr/share/applications \ |
gokhlayeh@8566 | 27 $fs/usr/share/pixmaps $fs/usr/games/opentyrian |
gokhlayeh@8566 | 28 cp $src/opentyrian $fs/usr/games/opentyrian |
gokhlayeh@8566 | 29 cp $src/linux/opentyrian.desktop $fs/usr/share/applications |
gokhlayeh@8566 | 30 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png |
gokhlayeh@8566 | 31 cat > $fs/usr/bin/opentyrian <<EOF |
gokhlayeh@8566 | 32 #!/bin/sh |
gokhlayeh@8566 | 33 here=$(pwd) |
gokhlayeh@8566 | 34 cd /usr/games/opentyrian |
gokhlayeh@8566 | 35 ./opentyrian |
gokhlayeh@8566 | 36 cd $here |
gokhlayeh@8566 | 37 EOF |
gokhlayeh@8566 | 38 chmod +x $fs/usr/bin/opentyrian |
gokhlayeh@8566 | 39 } |
gokhlayeh@8566 | 40 |