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

valgrind: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 19:22:50 2013 +0000 (2013-09-23)
parents 11579844d239
children cfc6ddf8de74
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 LICENSE="GPL2"
9 WEB_SITE="http://code.google.com/p/opentyrian/"
10 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/"
12 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian"
13 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make release
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/applications \
26 $fs/usr/share/pixmaps $fs/usr/games/opentyrian
27 cp $src/opentyrian $fs/usr/games/opentyrian
28 cp $src/linux/opentyrian.desktop $fs/usr/share/applications
29 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png
30 cat > $fs/usr/bin/opentyrian <<EOF
31 #!/bin/sh
32 here=$(pwd)
33 cd /usr/games/opentyrian
34 ./opentyrian
35 cd $here
36 EOF
37 chmod +x $fs/usr/bin/opentyrian
38 }