wok-6.x view freeciv/receipt @ rev 17690
xrdp: add --localstatedir=/var
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 22 18:41:02 2015 +0100 (2015-02-22) |
parents | 380ffe05937a |
children | 7006fcec1248 |
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 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="strategy"
14 DEPENDS="zlib ncurses readline gtk+ gettext-base xorg-libXdamage libsdl-mixer \
15 bzip2"
16 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext \
17 libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
24 ./configure \
25 --enable-client=gtk \
26 --enable-shared \
27 $CONFIGURE_ARGS &&
28 make -j1 &&
29 make -j1 install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/freeciv $fs/usr/share
39 # Add icons for desktop files
40 cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
41 }