wok-6.x annotate warzone2100/receipt @ rev 13796
mesa-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 14:44:51 2013 +0100 (2013-01-05) |
parents | 0547a154c252 |
children | 380ffe05937a |
rev | line source |
---|---|
slaxemulator@6551 | 1 # SliTaz package receipt. |
slaxemulator@6551 | 2 |
slaxemulator@6551 | 3 PACKAGE="warzone2100" |
slaxemulator@11252 | 4 VERSION="2.3.9" |
slaxemulator@6551 | 5 CATEGORY="games" |
slaxemulator@6551 | 6 SHORT_DESC="3D realtime strategy game on a future Earth" |
slaxemulator@6551 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6551 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6551 | 9 WEB_SITE="http://wz2100.net/" |
slaxemulator@6551 | 10 WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL" |
slaxemulator@6551 | 11 |
pascal@13796 | 12 DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs \ |
pascal@13796 | 13 quesoglc popt ttf-dejavu ttf-dejavu-extra" |
pascal@13796 | 14 BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev \ |
pascal@13796 | 15 libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev \ |
pascal@13796 | 16 quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev" |
slaxemulator@11252 | 17 |
slaxemulator@6551 | 18 # Rules to configure and make the package. |
slaxemulator@6551 | 19 compile_rules() |
slaxemulator@6551 | 20 { |
slaxemulator@6551 | 21 cd $src |
slaxemulator@6551 | 22 ./configure \ |
slaxemulator@7490 | 23 --disable-motif \ |
slaxemulator@6551 | 24 $CONFIGURE_ARGS && |
slaxemulator@11252 | 25 make && make DESTDIR=$DESTDIR install |
slaxemulator@6551 | 26 } |
slaxemulator@6551 | 27 |
slaxemulator@6551 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6551 | 29 genpkg_rules() |
slaxemulator@6551 | 30 { |
slaxemulator@6551 | 31 mkdir -p $fs/usr/share/pixmaps |
pascal@13796 | 32 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 33 cp -a $install/usr/share/applications $fs/usr/share |
pascal@13796 | 34 cp -a $install/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps |
pascal@13796 | 35 cp -a $install/usr/share/warzone2100 $fs/usr/share |
slaxemulator@6551 | 36 } |
slaxemulator@6551 | 37 |