wok view opentyrian/receipt @ rev 9846

Fixed apache-mod-wsgi for tazwok. Just need to cd $src before compiling.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 15 18:30:30 2011 +0000 (2011-05-15)
parents 7e8df9be141c
children 11579844d239
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 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 }