wok annotate mana/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents b7319995b37e
children 4c20b3e68b20
rev   line source
pascal@11223 1 # SliTaz package receipt.
pascal@11223 2
pascal@11223 3 PACKAGE="mana"
pascal@11223 4 VERSION="1.0.0-beta"
pascal@11223 5 CATEGORY="games"
pascal@11223 6 SHORT_DESC="A fully free and open source MMORPG game with the looks of old-fashioned 2D RPG"
pascal@11223 7 MAINTAINER="devl547@gmail.com"
pascal@15584 8 LICENSE="GPL2"
pascal@11223 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11223 10 WEB_SITE="http://themanaworld.org/"
pascal@11223 11 WGET_URL="http://manasource.org/files/$TARBALL"
pascal@15584 12
pascal@11223 13 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \
pascal@11223 14 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \
pascal@11223 15 libsdl-gfx-dev enet"
pascal@11223 16 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
pascal@11223 17 libsdl-ttf curl zlib libpng guichan libsdl-gfx"
pascal@11223 18
pascal@11223 19 # Rules to configure and make the package.
pascal@11223 20 compile_rules()
pascal@11223 21 {
pascal@11223 22 cd $src
gokhlayeh@11573 23 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
pascal@11223 24 make &&
pascal@15584 25 make DESTDIR=$DESTDIR install
pascal@11223 26 }
pascal@11223 27
pascal@11223 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11223 29 genpkg_rules()
pascal@11223 30 {
pascal@11223 31 mkdir -p $fs/usr/share
pascal@15584 32 cp -a $install/usr/bin $fs/usr
pascal@15584 33 cp -a $install/usr/share/applications $fs/usr/share/
pascal@15584 34 cp -a $install/usr/share/mana $fs/usr/share/
pascal@15584 35 cp -a $install/usr/share/pixmaps $fs/usr/share/
pascal@11223 36 }