wok-4.x rev 12385

First ManaPlus package commit
author Brenton Scott <admin@trixarian.net>
date Sun May 26 00:33:22 2013 +0200 (2013-05-26)
parents c510b88f38f9
children 594f7a31b593
files manaplus/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/manaplus/receipt	Sun May 26 00:33:22 2013 +0200
     1.3 @@ -0,0 +1,34 @@
     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-linux.tar.bz2"
    1.11 +WEB_SITE="http://manaplus.org/"
    1.12 +WGET_URL="http://download.evolonline.org/manaplus/download/$TARBALL"
    1.13 +BUILD_DEPENDS="autoconf curl-dev enet libxml2-dev libsdl-mixer-dev libsdl-image-dev libsdl-net-dev libsdl-ttf-dev libsdl-ttflib 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 +	autoreconf -i &&
    1.21 +	./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
    1.22 +	make &&
    1.23 +	make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share
    1.30 +	cp -a $_pkg/usr/bin $fs/usr
    1.31 +	cp -a $_pkg/usr/share/applications $fs/usr/share/
    1.32 +	cp -a $_pkg/usr/share/doc $fs/usr/share/
    1.33 +	cp -a $_pkg/usr/share/games $fs/usr/share/
    1.34 +	cp -a $_pkg/usr/share/icons $fs/usr/share/
    1.35 +	cp -a $_pkg/usr/share/locale $fs/usr/share/
    1.36 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
    1.37 +}