wok-stable view mana/receipt @ rev 11481

libgtop: add glib to depends; add intltool to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 18 03:01:59 2011 +0100 (2011-12-18)
parents
children b7319995b37e
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://themanaworld.org/"
10 WGET_URL="http://manasource.org/files/$TARBALL"
11 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \
12 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \
13 libsdl-gfx-dev enet"
14 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
15 libsdl-ttf curl zlib libpng guichan libsdl-gfx"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --without-opengl &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/applications $fs/usr/share/
32 cp -a $_pkg/usr/share/mana $fs/usr/share/
33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
34 }