wok-current rev 1730
Add freeciv
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 20 08:49:58 2008 +0000 (2008-11-20) |
parents | fc5df6c998a3 |
children | 8812757401c1 |
files | freeciv/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freeciv/receipt Thu Nov 20 08:49:58 2008 +0000 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 +