wok-current view assaultcube/receipt @ rev 14151

syslinux/isohybrid.exe: lseek fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 10:03:54 2013 +0100 (2013-03-04)
parents f1e1b044c452
children f4c22f009037
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 sed -i 's/lvorbisfile/& -lX11/' Makefile
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 }