wok-stable view freeciv/receipt @ rev 2636

Up: slitaz-base-files (change release string) + slitaz-doc for 2.0
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 19:59:30 2009 +0200 (2009-04-16)
parents 8f4ac32ab3b1
children 2c679ce49f4c
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 libiconv 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 }