wok view opentyrian/receipt @ rev 19383

Up tazlito (429), htop (2.0.2)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Aug 20 01:53:50 2016 +0200 (2016-08-20)
parents 408c87fa22ca
children eeba7ab1dffe
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/"
13 DEPENDS="libsdl libsdl-mixer libsdl-net tyrian"
14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make release
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/applications \
27 $fs/usr/share/pixmaps $fs/usr/games/opentyrian
28 cp $src/opentyrian $fs/usr/games/opentyrian
29 cp $src/linux/opentyrian.desktop $fs/usr/share/applications
30 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png
31 cat > $fs/usr/bin/opentyrian <<EOF
32 #!/bin/sh
33 here=$(pwd)
34 cd /usr/games/opentyrian
35 ./opentyrian
36 cd $here
37 EOF
38 chmod +x $fs/usr/bin/opentyrian
39 }