wok-current annotate freeciv/receipt @ rev 15770

Up tazinst-gui (3.94)
author Dominique Corbex <domcox@slitaz.org>
date Tue Jan 07 21:52:00 2014 +0100 (2014-01-07)
parents 287b8662f4a7
children e4fd343fd7b8
rev   line source
pascal@1730 1 # SliTaz package receipt.
pascal@1730 2
pascal@1730 3 PACKAGE="freeciv"
slaxemulator@9179 4 VERSION="2.2.5"
pascal@1730 5 CATEGORY="games"
pascal@1730 6 SHORT_DESC="Empire-building strategy game."
pascal@1730 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@1730 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1730 10 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
pascal@1730 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6267 12 DEPENDS="zlib ncurses readline gtk+ gettext xorg-libXdamage libsdl-mixer bzip2"
slaxemulator@6267 13 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
jozee@4936 14 TAGS="strategy"
pascal@1730 15
pascal@1730 16 # Rules to configure and make the package.
pascal@1730 17 compile_rules()
pascal@1730 18 {
pascal@1730 19 cd $src
pascal@1730 20 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
slaxemulator@10067 21 ./configure --enable-client=gtk --enable-shared \
slaxemulator@10067 22 $CONFIGURE_ARGS &&
slaxemulator@8721 23 make -j1 &&
slaxemulator@10067 24 make -j1 install
pascal@1730 25 }
pascal@1730 26
pascal@1730 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1730 28 genpkg_rules()
pascal@1730 29 {
slaxemulator@10870 30 mkdir -p $fs/usr/share $fs/usr/lib
slaxemulator@10870 31 cp -a $install/usr/bin $fs/usr
slaxemulator@10870 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@10870 33 cp -a $install/usr/share/freeciv $fs/usr/share
slaxemulator@10870 34 # Add icons for desktop files
slaxemulator@10870 35 cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
pascal@1730 36 }
pascal@1730 37