wok diff mana/receipt @ rev 11235

Up tmux (1.5)
author Paul Issott <paul@slitaz.org>
date Sun Nov 06 09:57:32 2011 +0000 (2011-11-06)
parents
children b7319995b37e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mana/receipt	Sun Nov 06 09:57:32 2011 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mana"
     1.7 +VERSION="1.0.0-beta"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="A fully free and open source MMORPG game with the looks of old-fashioned 2D RPG"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://themanaworld.org/"
    1.13 +WGET_URL="http://manasource.org/files/$TARBALL"
    1.14 +BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \
    1.15 +libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \
    1.16 +libsdl-gfx-dev enet"
    1.17 +DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
    1.18 +libsdl-ttf curl zlib libpng guichan libsdl-gfx"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr --without-opengl &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/share/applications $fs/usr/share/
    1.35 +	cp -a $_pkg/usr/share/mana $fs/usr/share/
    1.36 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
    1.37 +}