wok annotate 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 |
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 SOURCE="AssaultCube" |
slaxemulator@7316 | 9 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2" |
slaxemulator@8591 | 10 SOURCE="AssaultCube-Source" |
slaxemulator@6588 | 11 WEB_SITE="http://assault.cubers.net/" |
slaxemulator@6588 | 12 WGET_URL="$SF_MIRROR/actiongame/$TARBALL" |
slaxemulator@6588 | 13 |
pascal@13793 | 14 DEPENDS="openal libsdl-image libsdl-mixer mesa libglu-mesa assaultcube-data" |
pascal@13793 | 15 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev \ |
pascal@13793 | 16 libglu-mesa-dev" |
pascal@13793 | 17 |
slaxemulator@6588 | 18 # Rules to configure and make the package. |
slaxemulator@6588 | 19 compile_rules() |
slaxemulator@8591 | 20 { |
slaxemulator@6588 | 21 cd $src/source/src |
slaxemulator@6588 | 22 make |
pankso@8779 | 23 mkdir -p $DESTDIR/usr/bin |
slaxemulator@8606 | 24 cp -a ac_client $DESTDIR/usr/bin |
slaxemulator@8606 | 25 cp -a ac_server $DESTDIR/usr/bin |
slaxemulator@8591 | 26 |
slaxemulator@6588 | 27 } |
slaxemulator@6588 | 28 |
slaxemulator@6588 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6588 | 30 genpkg_rules() |
slaxemulator@6588 | 31 { |
pankso@8779 | 32 mkdir -p $fs/usr/bin |
pascal@13793 | 33 cp -a $install/usr/bin/ac_client $fs/usr/bin |
pascal@13793 | 34 cp -a $install/usr/bin/ac_server $fs/usr/bin |
slaxemulator@8591 | 35 cp -a $stuff/assaultcube $fs/usr/bin |
slaxemulator@8591 | 36 cp -a $stuff/assaultcube-server $fs/usr/bin |
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 |