wok-current view mana/receipt @ rev 23725

hplip: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 30 16:01:51 2020 +0000 (2020-04-30)
parents 3765f181a6d5
children 241fb98cab1c
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|\(enet_host_c.*\))|\1,0)|' src/net/manaserv/*.cpp
23 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/applications $fs/usr/share/
34 cp -a $install/usr/share/mana $fs/usr/share/
35 cp -a $install/usr/share/pixmaps $fs/usr/share/
36 }