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