wok-6.x annotate assaultcube/receipt @ rev 15763

Up tazinst-gui (3.92)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 22:37:47 2014 +0100 (2014-01-05)
parents 819f644a4dc7
children d37d15244372
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"
pascal@15201 8 LICENSE="zlib/libpng"
slaxemulator@6588 9 SOURCE="AssaultCube"
slaxemulator@7316 10 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2"
slaxemulator@8591 11 SOURCE="AssaultCube-Source"
slaxemulator@6588 12 WEB_SITE="http://assault.cubers.net/"
slaxemulator@6588 13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
slaxemulator@6588 14
pascal@13793 15 DEPENDS="openal libsdl-image libsdl-mixer mesa libglu-mesa assaultcube-data"
pascal@13793 16 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev \
pascal@13793 17 libglu-mesa-dev"
pascal@13793 18
slaxemulator@6588 19 # Rules to configure and make the package.
slaxemulator@6588 20 compile_rules()
slaxemulator@8591 21 {
slaxemulator@6588 22 cd $src/source/src
pascal@13819 23 sed -i 's/lvorbisfile/& -lX11/' Makefile
slaxemulator@6588 24 make
pankso@8779 25 mkdir -p $DESTDIR/usr/bin
slaxemulator@8606 26 cp -a ac_client $DESTDIR/usr/bin
slaxemulator@8606 27 cp -a ac_server $DESTDIR/usr/bin
slaxemulator@8591 28
slaxemulator@6588 29 }
slaxemulator@6588 30
slaxemulator@6588 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6588 32 genpkg_rules()
slaxemulator@6588 33 {
pankso@8779 34 mkdir -p $fs/usr/bin
pascal@13793 35 cp -a $install/usr/bin/ac_client $fs/usr/bin
pascal@13793 36 cp -a $install/usr/bin/ac_server $fs/usr/bin
slaxemulator@8591 37 cp -a $stuff/assaultcube $fs/usr/bin
slaxemulator@8591 38 cp -a $stuff/assaultcube-server $fs/usr/bin
slaxemulator@6588 39 chmod +x $fs/usr/bin/assaultcube
slaxemulator@6588 40 chmod +x $fs/usr/bin/assaultcube-server
slaxemulator@6588 41 }
slaxemulator@6588 42