wok-current view freeciv/receipt @ rev 15727
Up;openbox(3.5.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 26 20:57:05 2013 +0100 (2013-12-26) |
parents | 287b8662f4a7 |
children | e4fd343fd7b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeciv"
4 VERSION="2.2.5"
5 CATEGORY="games"
6 SHORT_DESC="Empire-building strategy game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="zlib ncurses readline gtk+ gettext xorg-libXdamage libsdl-mixer bzip2"
13 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
14 TAGS="strategy"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
21 ./configure --enable-client=gtk --enable-shared \
22 $CONFIGURE_ARGS &&
23 make -j1 &&
24 make -j1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/share/freeciv $fs/usr/share
34 # Add icons for desktop files
35 cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
36 }