wok view freeciv/receipt @ rev 15116

libcclc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:26:49 2013 +0000 (2013-08-14)
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 }