wok view freeciv/receipt @ rev 23697

updated thermald (1.9 -> 1.9.1)
author Hans-G?nter Theisgen
date Tue Apr 28 07:37:57 2020 +0100 (2020-04-28)
parents e4fd343fd7b8
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="freeciv"
4 VERSION="2.6.1"
5 CATEGORY="games"
6 TAGS="strategy"
7 SHORT_DESC="Empire-building strategy game"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.freeciv.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="bzip2 gettext-base gtk+3 libsdl-mixer ncurses readline
16 xorg-libXdamage zlib"
17 BUILD_DEPENDS="bzip2-dev curl-dev expat-dev gettext glibc-locale
18 gtk+3-dev libsdl-mixer-dev ncurses-dev readline-dev zlib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/--best/-9/' \
24 Makefile* \
25 data/scenarios/Makefile*
27 ./configure \
28 --enable-client=gtk \
29 --enable-shared \
30 $CONFIGURE_ARGS &&
31 make -j1 &&
32 make -j1 install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/share/freeciv $fs/usr/share
45 # Add icons for desktop files
46 cp -a $install/usr/share/icons/hicolor/32x32/apps \
47 $fs/usr/share/pixmaps
48 }