wok-next view freeciv/receipt @ rev 4296
libconfuse: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 21:46:57 2009 +0200 (2009-09-26) |
parents | bcdadd8bfbfa |
children | fb8aceda65ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeciv"
4 VERSION="2.1.6"
5 CATEGORY="games"
6 SHORT_DESC="Empire-building strategy game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="zlib ncurses readline gtk+ gettext xorg-libXdamage"
12 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/usr $fs
29 }