wok-stable view wormux/receipt @ rev 1488
imlib2: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 10:55:02 2008 +0000 (2008-10-05) |
parents | 64c626e98a31 |
children | b69c8150007d |
line source
1 # SliTaz package receipt.
3 PACKAGE="wormux"
4 VERSION="0.8.1"
5 CATEGORY="games"
6 SHORT_DESC="Wormux game."
7 DEPENDS="xorg libsdl-gfx libsdl-image libsdl-mixer
8 libsdl-net libsdl-ttf curl"
9 BUILD_DEPENDS="xorg-dev libsdl-gfx-dev libsdl-image-dev
10 libsdl-mixer-dev libsdl-net-dev libsdl-ttf 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 sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/'\
23 data/Makefile.in
24 ./configure \
25 --prefix=/usr \
26 --bindir=/usr/games \
27 --with-font-path=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/games $fs/usr
38 cp -a $_pkg/usr/share/wormux $fs/usr/share
39 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
40 # Remove unecessary files
41 rm -rf $fs/usr/share/wormux/font
42 }