wok-current view freeciv/receipt @ rev 2083

Add diffutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 27 10:29:56 2009 +0000 (2009-01-27)
parents
children 8f4ac32ab3b1
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"
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 }