wok view opentyrian/receipt @ rev 14573
Transmission-cli shouldn't install Transmission-gtk
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Fri May 24 18:26:23 2013 +0200 (2013-05-24) |
parents | e8768e5178a6 |
children | 408c87fa22ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="opentyrian"
4 VERSION="r886"
5 CATEGORY="games"
6 SHORT_DESC="OpenTyrian is a port of the DOS shoot-em-up Tyrian"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian"
9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial"
10 WEB_SITE="http://code.google.com/p/opentyrian/"
11 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make release
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin $fs/usr/share/applications \
24 $fs/usr/share/pixmaps $fs/usr/games/opentyrian
25 cp $src/opentyrian $fs/usr/games/opentyrian
26 cp $src/linux/opentyrian.desktop $fs/usr/share/applications
27 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png
28 cat > $fs/usr/bin/opentyrian <<EOF
29 #!/bin/sh
30 here=$(pwd)
31 cd /usr/games/opentyrian
32 ./opentyrian
33 cd $here
34 EOF
35 chmod +x $fs/usr/bin/opentyrian
36 }