wok-next view mana/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | ea3283ffaffe |
children | 3765f181a6d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mana"
4 VERSION="1.0.0-beta"
5 CATEGORY="games"
6 SHORT_DESC="A fully free and open source MMORPG game with the looks of old-fashioned 2D RPG"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://themanaworld.org/"
10 WGET_URL="http://manasource.org/files/$TARBALL"
11 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \
12 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \
13 libsdl-gfx-dev enet"
14 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
15 libsdl-ttf curl zlib libpng guichan libsdl-gfx"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/applications $fs/usr/share/
32 cp -a $_pkg/usr/share/mana $fs/usr/share/
33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
34 }