wok-next view assaultcube/receipt @ rev 8638

Up: fltk-2.0.x to r7725.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 15 03:33:42 2011 +0000 (2011-02-15)
parents b891cba4f48e
children 204832f540e5
line source
1 # SliTaz package receipt.
3 PACKAGE="assaultcube"
4 VERSION="1.1.0.4"
5 CATEGORY="games"
6 SHORT_DESC="A realistic team oriented multiplayer FPS based on the cube engine."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="openal libsdl-image libsdl-mixer mesa assaultcube-data"
9 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev"
10 SOURCE="AssaultCube"
11 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2"
12 SOURCE="AssaultCube-Source"
13 WEB_SITE="http://assault.cubers.net/"
14 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/source/src
20 make
21 [ ! -d $DESTDIR/usr/bin ] && mkdir -p $DESTDIR/usr/bin
22 cp -a ac_client $DESTDIR/usr/bin
23 cp -a ac_server $DESTDIR/usr/bin
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 stuff=$WOK/$PACKAGE/stuff
31 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications
32 cp -a $_pkg/usr/bin/ac_client $fs/usr/bin
33 cp -a $_pkg/usr/bin/ac_server $fs/usr/bin
34 cp -a $stuff/assaultcube $fs/usr/bin
35 cp -a $stuff/assaultcube-server $fs/usr/bin
36 cp -a $stuff/assaultcube.png $fs/usr/share/pixmaps
37 chmod +x $fs/usr/bin/assaultcube
38 chmod +x $fs/usr/bin/assaultcube-server
39 }