wok-next view opentyrian/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 408c87fa22ca |
children | 9d604775ef23 |
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 }