wok-6.x annotate assaultcube/receipt @ rev 13605
Up: kmod (11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 10 19:54:06 2012 +0100 (2012-11-10) |
parents | 204832f540e5 |
children | 13c330760c25 |
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 |
pankso@8779 | 21 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 { |
pankso@8779 | 30 mkdir -p $fs/usr/bin |
slaxemulator@8606 | 31 cp -a $_pkg/usr/bin/ac_client $fs/usr/bin |
slaxemulator@8606 | 32 cp -a $_pkg/usr/bin/ac_server $fs/usr/bin |
slaxemulator@8591 | 33 cp -a $stuff/assaultcube $fs/usr/bin |
slaxemulator@8591 | 34 cp -a $stuff/assaultcube-server $fs/usr/bin |
slaxemulator@6588 | 35 chmod +x $fs/usr/bin/assaultcube |
slaxemulator@6588 | 36 chmod +x $fs/usr/bin/assaultcube-server |
slaxemulator@6588 | 37 } |
slaxemulator@6588 | 38 |