# HG changeset patch # User Brenton Scott # Date 1369687387 -7200 # Node ID f19272a07aebac84493e4f2072749699290899e3 # Parent b36f803788353aa5f896f4fc729a8ed2476bcfa0 *sigh* don't delete manaplus' receipt, create it! diff -r b36f80378835 -r f19272a07aeb manaplus/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/manaplus/receipt Mon May 27 22:43:07 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/ +}