wok annotate wormux/receipt @ rev 1185

wormux: typo in deps and build deps
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 04 15:24:26 2008 +0200 (2008-08-04)
parents c829999c2bc7
children 79b3f891fb03
rev   line source
pankso@1103 1 # SliTaz package receipt.
pankso@1103 2
pankso@1103 3 PACKAGE="wormux"
pankso@1103 4 VERSION="0.8"
pankso@1103 5 CATEGORY="games"
pankso@1103 6 SHORT_DESC="Wormux game."
pankso@1185 7 DEPENDS="xorg libSDL libsdl-gfx libsdl-image libsdl-mixer
pankso@1185 8 libsdl-net libsdl-ttf curl"
pankso@1185 9 BUILD_DEPENDS="xorg-dev libSDL-dev libsdl-gfx-dev libsdl-image-dev
pankso@1185 10 libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev curl-dev"
pankso@1103 11 MAINTAINER="pankso@slitaz.org"
pankso@1103 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@1103 13 WEB_SITE="http://www.wormux.org/"
pankso@1103 14 WGET_URL="http://download.gna.org/wormux/$TARBALL"
pankso@1103 15
pankso@1103 16 # Rules to configure and make the package.
pankso@1103 17 compile_rules()
pankso@1103 18 {
pankso@1103 19 cd $src
pankso@1103 20 sed -i s:"INSTALL = /usr/bin/install -c":"INSTALL = /usr/bin/install -c -d":\
pankso@1103 21 Makefile
pankso@1103 22 ./configure \
pankso@1103 23 --prefix=/usr \
pankso@1103 24 --bindir=/usr/games \
pankso@1103 25 --with-font-path=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
pankso@1103 26 $CONFIGURE_ARGS
pankso@1103 27 make
pankso@1103 28 make DESTDIR=$PWD/_pkg install
pankso@1103 29 }
pankso@1103 30
pankso@1103 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1103 32 genpkg_rules()
pankso@1103 33 {
pankso@1103 34 mkdir -p $fs/usr/share
pankso@1103 35 cp -a $_pkg/usr/games $fs/usr
pankso@1103 36 cp -a $_pkg/usr/share/wormux $fs/usr/share
pankso@1103 37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@1103 38 # Remove unecessary files
pankso@1103 39 rm -rf $fs/usr/share/wormux/font
pankso@1103 40 }