wok-next view assaultcube/receipt @ rev 13793

assaultcube: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 05 13:16:33 2013 +0100 (2013-01-05)
parents 6b0914dcb55e
children f1e1b044c452
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 SOURCE="AssaultCube"
9 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2"
10 SOURCE="AssaultCube-Source"
11 WEB_SITE="http://assault.cubers.net/"
12 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
14 DEPENDS="openal libsdl-image libsdl-mixer mesa libglu-mesa assaultcube-data"
15 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev \
16 libglu-mesa-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/source/src
22 make
23 mkdir -p $DESTDIR/usr/bin
24 cp -a ac_client $DESTDIR/usr/bin
25 cp -a ac_server $DESTDIR/usr/bin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $install/usr/bin/ac_client $fs/usr/bin
34 cp -a $install/usr/bin/ac_server $fs/usr/bin
35 cp -a $stuff/assaultcube $fs/usr/bin
36 cp -a $stuff/assaultcube-server $fs/usr/bin
37 chmod +x $fs/usr/bin/assaultcube
38 chmod +x $fs/usr/bin/assaultcube-server
39 }