wok-next annotate freeciv/receipt @ rev 6704
Added depends to mplayer that should be there. I also fix it to build on a clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 21:54:43 2010 +0000 (2010-10-13) |
parents | 0ba0dc6475a9 |
children | 24232b761795 |
rev | line source |
---|---|
pascal@1730 | 1 # SliTaz package receipt. |
pascal@1730 | 2 |
pascal@1730 | 3 PACKAGE="freeciv" |
slaxemulator@6333 | 4 VERSION="2.2.3" |
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" |
slaxemulator@6267 | 11 DEPENDS="zlib ncurses readline gtk+ gettext xorg-libXdamage libsdl-mixer bzip2" |
slaxemulator@6267 | 12 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext libsdl-mixer-dev glibc-locale bzip2-dev expat-dev" |
jozee@4936 | 13 TAGS="strategy" |
pascal@1730 | 14 |
pascal@1730 | 15 # Rules to configure and make the package. |
pascal@1730 | 16 compile_rules() |
pascal@1730 | 17 { |
pascal@1730 | 18 cd $src |
pascal@1730 | 19 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile* |
pascal@1730 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1730 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
slaxemulator@6333 | 22 make -j 4 && |
pascal@1730 | 23 make DESTDIR=$PWD/_pkg install |
pascal@1730 | 24 } |
pascal@1730 | 25 |
pascal@1730 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1730 | 27 genpkg_rules() |
pascal@1730 | 28 { |
pascal@1730 | 29 cp -a $_pkg/usr $fs |
pascal@1730 | 30 } |
pascal@1730 | 31 |