wok-6.x annotate assaultcube/receipt @ rev 15007
connman: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 10:21:02 2013 +0000 (2013-08-11) |
parents | f1e1b044c452 |
children | f4c22f009037 |
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 |
pascal@13819 | 22 sed -i 's/lvorbisfile/& -lX11/' Makefile |
slaxemulator@6588 | 23 make |
pankso@8779 | 24 mkdir -p $DESTDIR/usr/bin |
slaxemulator@8606 | 25 cp -a ac_client $DESTDIR/usr/bin |
slaxemulator@8606 | 26 cp -a ac_server $DESTDIR/usr/bin |
slaxemulator@8591 | 27 |
slaxemulator@6588 | 28 } |
slaxemulator@6588 | 29 |
slaxemulator@6588 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6588 | 31 genpkg_rules() |
slaxemulator@6588 | 32 { |
pankso@8779 | 33 mkdir -p $fs/usr/bin |
pascal@13793 | 34 cp -a $install/usr/bin/ac_client $fs/usr/bin |
pascal@13793 | 35 cp -a $install/usr/bin/ac_server $fs/usr/bin |
slaxemulator@8591 | 36 cp -a $stuff/assaultcube $fs/usr/bin |
slaxemulator@8591 | 37 cp -a $stuff/assaultcube-server $fs/usr/bin |
slaxemulator@6588 | 38 chmod +x $fs/usr/bin/assaultcube |
slaxemulator@6588 | 39 chmod +x $fs/usr/bin/assaultcube-server |
slaxemulator@6588 | 40 } |
slaxemulator@6588 | 41 |