wok view mana/receipt @ rev 25095
Up libkeybinder (0.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 18 13:48:16 2022 +0000 (2022-06-18) |
parents | 4c20b3e68b20 |
children | 77ec99338524 |
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="http://manasource.org/files/$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 }