wok-undigest annotate mana/receipt @ rev 459

get-wfica: links to /usr/bin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 08 13:27:57 2011 +0200 (2011-09-08)
parents
children
rev   line source
devl547@111 1 # SliTaz package receipt.
devl547@111 2
devl547@111 3 PACKAGE="mana"
devl547@111 4 VERSION="1.0.0-beta"
devl547@111 5 CATEGORY="games"
devl547@111 6 SHORT_DESC="A fully free and open source MMORPG game with the looks of old-fashioned 2D RPG"
devl547@111 7 MAINTAINER="devl547@gmail.com"
devl547@111 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@111 9 WEB_SITE="http://themanaworld.org/"
devl547@111 10 WGET_URL="http://manasource.org/files/$TARBALL"
devl547@111 11 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \
devl547@111 12 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \
devl547@111 13 libsdl-gfx-dev enet"
devl547@111 14 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
devl547@111 15 libsdl-ttf curl zlib libpng guichan libsdl-gfx"
devl547@111 16
devl547@111 17 # Rules to configure and make the package.
devl547@111 18 compile_rules()
devl547@111 19 {
devl547@111 20 cd $src
devl547@111 21 ./configure --prefix=/usr --without-opengl &&
devl547@111 22 make &&
devl547@111 23 make DESTDIR=$PWD/_pkg install
devl547@111 24 }
devl547@111 25
devl547@111 26 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@111 27 genpkg_rules()
devl547@111 28 {
devl547@111 29 mkdir -p $fs/usr/share
devl547@111 30 cp -a $_pkg/usr/bin $fs/usr
devl547@111 31 cp -a $_pkg/usr/share/applications $fs/usr/share/
devl547@111 32 cp -a $_pkg/usr/share/mana $fs/usr/share/
devl547@111 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
devl547@111 34 }