wok-4.x view opentyrian/receipt @ rev 9343

lzma, xz: add lzma --size (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 14:47:17 2011 +0100 (2011-03-19)
parents
children e8768e5178a6
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 SOURCE="opentyrian"
11 WEB_SITE="http://code.google.com/p/opentyrian/"
12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make release
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin $fs/usr/share/applications \
25 $fs/usr/share/pixmaps $fs/usr/games/opentyrian
26 cp $src/opentyrian $fs/usr/games/opentyrian
27 cp $src/linux/opentyrian.desktop $fs/usr/share/applications
28 cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png
29 cat > $fs/usr/bin/opentyrian <<EOF
30 #!/bin/sh
31 here=$(pwd)
32 cd /usr/games/opentyrian
33 ./opentyrian
34 cd $here
35 EOF
36 chmod +x $fs/usr/bin/opentyrian
37 }