# HG changeset patch # User Brenton Scott # Date 1369686700 -7200 # Node ID 02f1e6c5d8a2aab6d8492eab053b01559ac92e69 # Parent 6726368e98f24dd2e87c88920482887689222520 Add manaplus diff -r 6726368e98f2 -r 02f1e6c5d8a2 manaplus/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/manaplus/receipt Mon May 27 22:31:40 2013 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. +PACKAGE="manaplus" +VERSION="1.3.5.26" +CATEGORY="games" +SHORT_DESC="Extended client for Evol Online and The Mana World" +MAINTAINER="admin@trixarian.net" +TARBALL="manaplus.tar.xz" +WEB_SITE="http://manaplus.org/" +WGET_URL="http://download.evolonline.org/manaplus/download/$TARBALL" +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" +DEPENDS="curl physfs libxml2 libsdl-mixer libsdl-image libsdl-net libsdl-ttf libpng libsdl-gfx ttf-dejavu zlib" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/applications $fs/usr/share/ + cp -a $_pkg/usr/share/locale $fs/usr/share/ + cp -a $_pkg/usr/share/manaplus $fs/usr/share/ + cp -a $_pkg/usr/share/pixmaps $fs/usr/share/ +}