wok diff wormux/receipt @ rev 1103
Add Wormux game
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jul 18 21:58:03 2008 +0200 (2008-07-18) |
parents | |
children | c829999c2bc7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wormux/receipt Fri Jul 18 21:58:03 2008 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wormux" 1.7 +VERSION="0.8" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Wormux game." 1.10 +DEPENDS="xorg libSDL SDL_gfx SDL_image SDL_mixer SDL_net SDL_ttf curl" 1.11 +BUILD_DEPENDS="xorg-dev libSDL-dev SDL_gfx-dev SDL_image-dev 1.12 + SDL_mixer-dev SDL_net-dev SDL_ttf-dev curl-dev" 1.13 +MAINTAINER="pankso@slitaz.org" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.wormux.org/" 1.16 +WGET_URL="http://download.gna.org/wormux/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + sed -i s:"INSTALL = /usr/bin/install -c":"INSTALL = /usr/bin/install -c -d":\ 1.23 + Makefile 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --bindir=/usr/games \ 1.27 + --with-font-path=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \ 1.28 + $CONFIGURE_ARGS 1.29 + make 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/share 1.37 + cp -a $_pkg/usr/games $fs/usr 1.38 + cp -a $_pkg/usr/share/wormux $fs/usr/share 1.39 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.40 + # Remove unecessary files 1.41 + rm -rf $fs/usr/share/wormux/font 1.42 +}