wok-current view assaultcube/receipt @ rev 13795
blender: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 13:26:25 2013 +0100 (2013-01-05) |
parents | 13c330760c25 |
children | 819f644a4dc7 |
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 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
22 cd $src/source/src
23 make
24 mkdir -p $DESTDIR/usr/bin
25 cp -a ac_client $DESTDIR/usr/bin
26 cp -a ac_server $DESTDIR/usr/bin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $install/usr/bin/ac_client $fs/usr/bin
35 cp -a $install/usr/bin/ac_server $fs/usr/bin
36 cp -a $stuff/assaultcube $fs/usr/bin
37 cp -a $stuff/assaultcube-server $fs/usr/bin
38 chmod +x $fs/usr/bin/assaultcube
39 chmod +x $fs/usr/bin/assaultcube-server
40 }