wok-current view manaplus/receipt @ rev 15761

Up tazpkg (5.1.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 17:57:45 2014 +0100 (2014-01-05)
parents 7896f0694ef6
children 9689f1b75619
line source
1 # SliTaz package receipt.
3 PACKAGE="manaplus"
4 VERSION="1.3.8.4"
5 CATEGORY="games"
6 SHORT_DESC="Extended client for Evol Online and The Mana World"
7 MAINTAINER="admin@trixarian.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://manaplus.org/"
11 WGET_URL="http://download.evolonline.org/manaplus/download/$VERSION/$TARBALL"
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"
14 DEPENDS="curl physfs libxml2 libsdl-mixer libsdl-image libsdl-net libsdl-ttf libpng libsdl-gfx ttf-dejavu zlib"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/applications $fs/usr/share/
31 cp -a $install/usr/share/locale $fs/usr/share/
32 cp -a $install/usr/share/manaplus $fs/usr/share/
33 cp -a $install/usr/share/pixmaps $fs/usr/share/
34 }