wok view manaplus/receipt @ rev 14599

Add manaplus
author Brenton Scott <admin@trixarian.net>
date Mon May 27 22:31:40 2013 +0200 (2013-05-27)
parents
children 91aaa33157f6
line source
1 # SliTaz package receipt.
2 PACKAGE="manaplus"
3 VERSION="1.3.5.26"
4 CATEGORY="games"
5 SHORT_DESC="Extended client for Evol Online and The Mana World"
6 MAINTAINER="admin@trixarian.net"
7 TARBALL="manaplus.tar.xz"
8 WEB_SITE="http://manaplus.org/"
9 WGET_URL="http://download.evolonline.org/manaplus/download/$TARBALL"
10 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"
11 DEPENDS="curl physfs libxml2 libsdl-mixer libsdl-image libsdl-net libsdl-ttf libpng libsdl-gfx ttf-dejavu zlib"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/applications $fs/usr/share/
28 cp -a $_pkg/usr/share/locale $fs/usr/share/
29 cp -a $_pkg/usr/share/manaplus $fs/usr/share/
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
31 }