wok rev 14599

Add manaplus
author Brenton Scott <admin@trixarian.net>
date Mon May 27 22:31:40 2013 +0200 (2013-05-27)
parents 6726368e98f2
children a711303a3220
files manaplus/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/manaplus/receipt	Mon May 27 22:31:40 2013 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +PACKAGE="manaplus"
     1.6 +VERSION="1.3.5.26"
     1.7 +CATEGORY="games"
     1.8 +SHORT_DESC="Extended client for Evol Online and The Mana World"
     1.9 +MAINTAINER="admin@trixarian.net"
    1.10 +TARBALL="manaplus.tar.xz"
    1.11 +WEB_SITE="http://manaplus.org/"
    1.12 +WGET_URL="http://download.evolonline.org/manaplus/download/$TARBALL"
    1.13 +BUILD_DEPENDS="curl-dev enet libxml2-dev libsdl-mixer-dev libsdl-image-dev libsdl-net-dev libsdl-ttf-dev libsdl-gfx-dev physfs-dev png-dev zlib-dev"
    1.14 +DEPENDS="curl physfs libxml2 libsdl-mixer libsdl-image libsdl-net libsdl-ttf libpng libsdl-gfx ttf-dejavu zlib"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
    1.21 +	make &&
    1.22 +	make DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/share/applications $fs/usr/share/
    1.31 +	cp -a $_pkg/usr/share/locale $fs/usr/share/
    1.32 +	cp -a $_pkg/usr/share/manaplus $fs/usr/share/
    1.33 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
    1.34 +}