wok view btanks/receipt @ rev 9834
Up: bluez to 4.93.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 12:45:56 2011 +0000 (2011-05-15) |
parents | 96575ba8782e |
children | f09d07ae1550 |
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 DEPENDS="expat mesa libsigc++ libvorbis lua openal libsdl libsdl-image libsmpeg"
9 BUILD_DEPENDS="expat-dev mesa-dev libsigc++-dev libvorbis libvorbis-dev libogg libogg-dev lua-dev openal-dev libsdl-dev libsdl-image-dev libsmpeg-dev scons chrpath pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://btanks.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 scons
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib/btanks $fs/usr/share/applications $fs/usr/bin
25 cp -a $src/*.so $fs/usr/lib/btanks
26 cp -a $src/btanks $fs/usr/bin/btanks-bin
27 cp -a $src/bted $fs/usr/bin/bted-bin
29 cp -a $stuff/btanks_script $fs/usr/bin/btanks
30 cp -a $stuff/bted_script $fs/usr/bin/bted
31 chmod +x $fs/usr/bin/btanks
32 chmod +x $fs/usr/bin/bted
34 mkdir -p $fs/usr/share/btanks
36 # Make settings saveable
38 touch $fs/usr/share/btanks/bt.xml
39 chgrp 1000 $fs/usr/share/btanks/bt.xml
40 chmod 664 $fs/usr/share/btanks/bt.xml
42 ln -s /usr/bin/btanks-bin $fs/usr/share/btanks/btanks && \
43 ln -s /usr/bin/bted-bin $fs/usr/share/btanks/bted || return 1
45 ls -1 $fs/usr/lib/btanks/ | while read A; do
46 ln -s /usr/lib/btanks/$A $fs/usr/share/btanks/$A || return 1
47 done
49 # game data
50 cp -a $src/data $fs/usr/share/btanks
51 }