wok-next view freeciv/receipt @ rev 14640
Xorg. xorg-libXt: add glib-dev as bdeps; xorg-libXpm: reformat, move binaries to xorg-libXpm-util new package; xorg-libXaw: up 1.0.11.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 16:41:49 2013 +0000 (2013-06-02) |
parents | 7cb6e714c613 |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="zlib ncurses readline gtk+ gettext xorg-libXdamage libsdl-mixer bzip2"
12 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
13 TAGS="strategy"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
20 ./configure --enable-client=gtk --enable-shared \
21 $CONFIGURE_ARGS &&
22 make -j1 &&
23 make -j1 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/share/freeciv $fs/usr/share
33 # Add icons for desktop files
34 cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
35 }