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