wok-6.x view opentyrian/receipt @ rev 11314

Up: audacious (3.1), add: mpg123-dev, fix: add mp3 and aac decoders
author Alexander Medvedev <devl547@gmail.com>
date Wed Nov 16 05:53:53 2011 +0000 (2011-11-16)
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 }