wok-next annotate freeciv/receipt @ rev 20616
xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
gcc61 and gcc6 are broken now.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 05:15:11 2018 +0300 (2018-04-21) |
parents | e4fd343fd7b8 |
children | f48456621a9d |
rev | line source |
---|---|
al@20569 | 1 # SliTaz package receipt v2. |
pascal@1730 | 2 |
pascal@1730 | 3 PACKAGE="freeciv" |
slaxemulator@9179 | 4 VERSION="2.2.5" |
pascal@1730 | 5 CATEGORY="games" |
al@16885 | 6 SHORT_DESC="Empire-building strategy game" |
pascal@1730 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@16885 | 9 WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page" |
al@20569 | 10 |
pascal@1730 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1730 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1730 | 13 |
al@16885 | 14 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext \ |
al@16885 | 15 libsdl-mixer-dev glibc-locale bzip2-dev expat-dev" |
al@16885 | 16 |
al@20569 | 17 compile_rules() { |
pascal@1730 | 18 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile* |
al@16885 | 19 |
al@16885 | 20 ./configure \ |
al@16885 | 21 --enable-client=gtk \ |
al@16885 | 22 --enable-shared \ |
slaxemulator@10067 | 23 $CONFIGURE_ARGS && |
al@20569 | 24 fix libtool && |
slaxemulator@8721 | 25 make -j1 && |
slaxemulator@10067 | 26 make -j1 install |
pascal@1730 | 27 } |
pascal@1730 | 28 |
al@20569 | 29 genpkg_rules() { |
al@20569 | 30 copy @std |
al@20569 | 31 DEPENDS="zlib ncurses readline gtk+ gettext-base xorg-libXdamage \ |
al@20569 | 32 libsdl-mixer bzip2" |
al@20569 | 33 TAGS="strategy" |
pascal@1730 | 34 } |