wok-next view warzone2100/receipt @ rev 10562
openexr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 22:38:15 2011 +0200 (2011-05-25) |
parents | 55fee7e071f6 |
children | 0547a154c252 |
line source
1 # SliTaz package receipt.
3 PACKAGE="warzone2100"
4 VERSION="2.3.7"
5 CATEGORY="games"
6 SHORT_DESC="3D realtime strategy game on a future Earth"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs quesoglc popt ttf-dejavu ttf-dejavu-extra"
9 BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://wz2100.net/"
12 WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-motif \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 cp -a $_pkg/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/share/warzone2100 $fs/usr/share
35 }