wok-6.x annotate freeciv/receipt @ rev 2939
Up: libgpg-error-* (1.7)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 08 00:11:57 2009 +0200 (2009-05-08) |
parents | 8f4ac32ab3b1 |
children | 2c679ce49f4c |
rev | line source |
---|---|
pascal@1730 | 1 # SliTaz package receipt. |
pascal@1730 | 2 |
pascal@1730 | 3 PACKAGE="freeciv" |
pascal@1730 | 4 VERSION="2.1.6" |
pascal@1730 | 5 CATEGORY="games" |
pascal@1730 | 6 SHORT_DESC="Empire-building strategy game." |
pascal@1730 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1730 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1730 | 9 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page" |
pascal@1730 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2515 | 11 DEPENDS="zlib ncurses readline gtk+ gettext libiconv xorg-libXdamage" |
pascal@1730 | 12 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext" |
pascal@1730 | 13 |
pascal@1730 | 14 # Rules to configure and make the package. |
pascal@1730 | 15 compile_rules() |
pascal@1730 | 16 { |
pascal@1730 | 17 cd $src |
pascal@1730 | 18 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile* |
pascal@1730 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1730 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1730 | 21 make && |
pascal@1730 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1730 | 23 } |
pascal@1730 | 24 |
pascal@1730 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1730 | 26 genpkg_rules() |
pascal@1730 | 27 { |
pascal@1730 | 28 cp -a $_pkg/usr $fs |
pascal@1730 | 29 } |
pascal@1730 | 30 |