wok view wormux/receipt @ rev 1184

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