wok-6.x view assaultcube/receipt @ rev 7557

Added /usr/share/aclocal folder to nspr-dev package.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 08 10:56:06 2010 +0000 (2010-12-08)
parents 3481e7ecc617
children 53ecebbc8732
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 WEB_SITE="http://assault.cubers.net/"
13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ln -s $WOK/$PACKAGE/$VERSION $WOK/$PACKAGE/$SOURCE-$VERSION
19 cd $src/source/src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 _src=$src/source/src
27 _stuff=$WOK/$PACKAGE/stuff
28 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications
29 cp -a $_src/ac_client $fs/usr/bin
30 cp -a $_src/ac_server $fs/usr/bin
31 cp -a $_stuff/assaultcube $fs/usr/bin
32 cp -a $_stuff/assaultcube-server $fs/usr/bin
33 cp -a $_stuff/assaultcube.png $fs/usr/share/pixmaps
34 chmod +x $fs/usr/bin/assaultcube
35 chmod +x $fs/usr/bin/assaultcube-server
36 }