wok view opentyrian/receipt @ rev 22072
updated ufw (0.34 -> 0.36)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 25 16:22:34 2019 +0100 (2019-10-25) |
parents | cfc6ddf8de74 |
children | f96e26cdfd7a |
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="https://bitbucket.org/opentyrian/opentyrian/wiki/Home"
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 }