wok view btanks/receipt @ rev 12336

Up: lmms to 0.4.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 09:04:06 2012 +0000 (2012-04-19)
parents d1768332cee0
children ce4e9b8600cb
line source
1 # SliTaz package receipt.
3 PACKAGE="btanks"
4 VERSION="0.9.8083"
5 CATEGORY="games"
6 SHORT_DESC="A fast 2d tank arcade game with multiplayer and split-screen modes."
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://btanks.sourceforge.net"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="expat mesa libsigc++ libvorbis lua openal libsdl libsdl-image libsmpeg"
13 BUILD_DEPENDS="expat-dev mesa-dev libsigc++-dev libvorbis libvorbis-dev libogg libogg-dev \
14 lua-dev openal-dev libsdl-dev libsdl-image-dev libsmpeg-dev scons chrpath pkg-config libsmpeg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 scons
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/btanks $fs/usr/share/applications $fs/usr/bin
27 cp -a $src/*.so $fs/usr/lib/btanks
28 cp -a $src/btanks $fs/usr/bin/btanks-bin
29 cp -a $src/bted $fs/usr/bin/bted-bin
31 cp -a $stuff/btanks_script $fs/usr/bin/btanks
32 cp -a $stuff/bted_script $fs/usr/bin/bted
33 chmod +x $fs/usr/bin/btanks
34 chmod +x $fs/usr/bin/bted
36 mkdir -p $fs/usr/share/btanks
38 # Make settings saveable
40 touch $fs/usr/share/btanks/bt.xml
41 chgrp 1000 $fs/usr/share/btanks/bt.xml
42 chmod 664 $fs/usr/share/btanks/bt.xml
44 ln -s /usr/bin/btanks-bin $fs/usr/share/btanks/btanks && \
45 ln -s /usr/bin/bted-bin $fs/usr/share/btanks/bted || return 1
47 ls -1 $fs/usr/lib/btanks/ | while read A; do
48 ln -s /usr/lib/btanks/$A $fs/usr/share/btanks/$A || return 1
49 done
51 # game data
52 cp -a $src/data $fs/usr/share/btanks
53 }