wok-stable view wormux/receipt @ rev 1398
Fix: Dropbear failed to start with empty key files.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 20 08:55:30 2008 +0200 (2008-09-20) |
parents | c829999c2bc7 |
children | 79b3f891fb03 |
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 }