wok-current view freeciv/receipt @ rev 2991

Up squashfs (4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 11 19:12:26 2009 +0200 (2009-05-11)
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 }