wok-current annotate mana/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 241fb98cab1c |
children | 73f36875e5a7 |
rev | line source |
---|---|
pascal@11223 | 1 # SliTaz package receipt. |
pascal@11223 | 2 |
pascal@11223 | 3 PACKAGE="mana" |
pascal@11223 | 4 VERSION="1.0.0-beta" |
pascal@11223 | 5 CATEGORY="games" |
pascal@11223 | 6 SHORT_DESC="A fully free and open source MMORPG game with the looks of old-fashioned 2D RPG" |
pascal@11223 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15584 | 8 LICENSE="GPL2" |
pascal@11223 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 10 WEB_SITE="http://themanaworld.org/" |
pascal@25113 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
pascal@15584 | 12 |
pascal@11223 | 13 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \ |
pascal@11223 | 14 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \ |
pascal@11223 | 15 libsdl-gfx-dev enet" |
pascal@11223 | 16 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \ |
pascal@11223 | 17 libsdl-ttf curl zlib libpng guichan libsdl-gfx" |
pascal@11223 | 18 |
pascal@24453 | 19 # What is the latest version available today? |
pascal@24453 | 20 current_version() |
pascal@24453 | 21 { |
pascal@24453 | 22 wget -O - https://manaplus.org/ 2>/dev/null | \ |
pascal@24453 | 23 sed '/Latest version/!d;s|.*version: ||;s|<.*||;q' |
pascal@24453 | 24 } |
pascal@24453 | 25 |
pascal@11223 | 26 # Rules to configure and make the package. |
pascal@11223 | 27 compile_rules() |
pascal@11223 | 28 { |
pascal@21399 | 29 sed -i 's|\(enet_host_c.*\))|\1,0)|' src/net/manaserv/*.cpp |
gokhlayeh@11573 | 30 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS && |
pascal@11223 | 31 make && |
pascal@15584 | 32 make DESTDIR=$DESTDIR install |
pascal@11223 | 33 } |
pascal@11223 | 34 |
pascal@11223 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 36 genpkg_rules() |
pascal@11223 | 37 { |
pascal@11223 | 38 mkdir -p $fs/usr/share |
pascal@15584 | 39 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 40 cp -a $install/usr/share/applications $fs/usr/share/ |
pascal@15584 | 41 cp -a $install/usr/share/mana $fs/usr/share/ |
pascal@15584 | 42 cp -a $install/usr/share/pixmaps $fs/usr/share/ |
pascal@11223 | 43 } |