wok-6.x view manaplus/receipt @ rev 18308

jansson-dev: add deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 25 12:02:03 2015 +0200 (2015-08-25)
parents 7f646ca10d23
children 58b5793034e8
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 libpng-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 }