wok view wormux/receipt @ rev 1146
phpmyadmin: fix recook
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 25 22:27:52 2008 +0000 (2008-07-25) |
parents | |
children | c829999c2bc7 |
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 SDL_gfx SDL_image SDL_mixer SDL_net SDL_ttf curl"
8 BUILD_DEPENDS="xorg-dev libSDL-dev SDL_gfx-dev SDL_image-dev
9 SDL_mixer-dev SDL_net-dev SDL_ttf-dev curl-dev"
10 MAINTAINER="pankso@slitaz.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.wormux.org/"
13 WGET_URL="http://download.gna.org/wormux/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i s:"INSTALL = /usr/bin/install -c":"INSTALL = /usr/bin/install -c -d":\
20 Makefile
21 ./configure \
22 --prefix=/usr \
23 --bindir=/usr/games \
24 --with-font-path=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
25 $CONFIGURE_ARGS
26 make
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/games $fs/usr
35 cp -a $_pkg/usr/share/wormux $fs/usr/share
36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
37 # Remove unecessary files
38 rm -rf $fs/usr/share/wormux/font
39 }