wok-stable diff freeciv/receipt @ rev 2053
slim: backup config if exist (mainly keep screen config when upgrade)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 23:08:54 2009 +0100 (2009-01-17) |
parents | |
children | 8f4ac32ab3b1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freeciv/receipt Sat Jan 17 23:08:54 2009 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="freeciv" 1.7 +VERSION="2.1.6" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Empire-building strategy game." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 +DEPENDS="zlib ncurses readline gtk+ gettext" 1.15 +BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + sed -i 's/--best/-9/' Makefile* data/scenario/Makefile* 1.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + cp -a $_pkg/usr $fs 1.32 +} 1.33 +