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