wok-current annotate opentyrian/receipt @ rev 14535
firefox-dev: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 19:05:54 2013 +0200 (2013-05-22) |
parents | e8768e5178a6 |
children | 408c87fa22ca |
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" |
gokhlayeh@8566 | 8 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian" |
gokhlayeh@8566 | 9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial" |
gokhlayeh@8566 | 10 WEB_SITE="http://code.google.com/p/opentyrian/" |
gokhlayeh@8566 | 11 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" |
gokhlayeh@8566 | 12 |
gokhlayeh@8566 | 13 # Rules to configure and make the package. |
gokhlayeh@8566 | 14 compile_rules() |
gokhlayeh@8566 | 15 { |
gokhlayeh@8566 | 16 cd $src |
gokhlayeh@8566 | 17 make release |
gokhlayeh@8566 | 18 } |
gokhlayeh@8566 | 19 |
gokhlayeh@8566 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8566 | 21 genpkg_rules() |
gokhlayeh@8566 | 22 { |
gokhlayeh@8566 | 23 mkdir -p $fs/usr/bin $fs/usr/share/applications \ |
gokhlayeh@8566 | 24 $fs/usr/share/pixmaps $fs/usr/games/opentyrian |
gokhlayeh@8566 | 25 cp $src/opentyrian $fs/usr/games/opentyrian |
gokhlayeh@8566 | 26 cp $src/linux/opentyrian.desktop $fs/usr/share/applications |
gokhlayeh@8566 | 27 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png |
gokhlayeh@8566 | 28 cat > $fs/usr/bin/opentyrian <<EOF |
gokhlayeh@8566 | 29 #!/bin/sh |
gokhlayeh@8566 | 30 here=$(pwd) |
gokhlayeh@8566 | 31 cd /usr/games/opentyrian |
gokhlayeh@8566 | 32 ./opentyrian |
gokhlayeh@8566 | 33 cd $here |
gokhlayeh@8566 | 34 EOF |
gokhlayeh@8566 | 35 chmod +x $fs/usr/bin/opentyrian |
gokhlayeh@8566 | 36 } |
gokhlayeh@8566 | 37 |