wok-6.x annotate freeciv/receipt @ rev 22522
updated avfs and avfs-dev (1.0.6 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 02 11:01:35 2020 +0100 (2020-01-02) |
parents | 380ffe05937a |
children | 7006fcec1248 |
rev | line source |
---|---|
pascal@1730 | 1 # SliTaz package receipt. |
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" |
pascal@1730 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1730 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4936 | 12 TAGS="strategy" |
pascal@1730 | 13 |
al@16885 | 14 DEPENDS="zlib ncurses readline gtk+ gettext-base xorg-libXdamage libsdl-mixer \ |
al@16885 | 15 bzip2" |
al@16885 | 16 BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext \ |
al@16885 | 17 libsdl-mixer-dev glibc-locale bzip2-dev expat-dev" |
al@16885 | 18 |
pascal@1730 | 19 # Rules to configure and make the package. |
pascal@1730 | 20 compile_rules() |
pascal@1730 | 21 { |
pascal@1730 | 22 sed -i 's/--best/-9/' Makefile* data/scenario/Makefile* |
al@16885 | 23 |
al@16885 | 24 ./configure \ |
al@16885 | 25 --enable-client=gtk \ |
al@16885 | 26 --enable-shared \ |
slaxemulator@10067 | 27 $CONFIGURE_ARGS && |
slaxemulator@8721 | 28 make -j1 && |
slaxemulator@10067 | 29 make -j1 install |
pascal@1730 | 30 } |
pascal@1730 | 31 |
pascal@1730 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1730 | 33 genpkg_rules() |
pascal@1730 | 34 { |
slaxemulator@10870 | 35 mkdir -p $fs/usr/share $fs/usr/lib |
slaxemulator@10870 | 36 cp -a $install/usr/bin $fs/usr |
slaxemulator@10870 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@10870 | 38 cp -a $install/usr/share/freeciv $fs/usr/share |
slaxemulator@10870 | 39 # Add icons for desktop files |
slaxemulator@10870 | 40 cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps |
pascal@1730 | 41 } |
pascal@1730 | 42 |