wok-next view opentyrian/receipt @ rev 8975

Up: wireshark to 1.4.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 10:00:39 2011 +0000 (2011-03-02)
parents
children e8768e5178a6
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@skyrock.com"
8 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian"
9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial"
10 SOURCE="opentyrian"
11 WEB_SITE="http://code.google.com/p/opentyrian/"
12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make release
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin $fs/usr/share/applications \
25 $fs/usr/share/pixmaps $fs/usr/games/opentyrian
26 cp $src/opentyrian $fs/usr/games/opentyrian
27 cp $src/linux/opentyrian.desktop $fs/usr/share/applications
28 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png
29 cat > $fs/usr/bin/opentyrian <<EOF
30 #!/bin/sh
31 here=$(pwd)
32 cd /usr/games/opentyrian
33 ./opentyrian
34 cd $here
35 EOF
36 chmod +x $fs/usr/bin/opentyrian
37 }