wok annotate mana/receipt @ rev 15374

Up apache-mod-perl (2.0.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 17 18:09:17 2013 +0000 (2013-10-17)
parents ea3283ffaffe
children 3765f181a6d5
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@11223 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11223 9 WEB_SITE="http://themanaworld.org/"
pascal@11223 10 WGET_URL="http://manasource.org/files/$TARBALL"
pascal@11223 11 BUILD_DEPENDS="physfs-dev libxml2-dev libsdl-mixer-dev libsdl-image-dev \
pascal@11223 12 libsdl-net-dev libsdl-ttf-dev libsdl-ttf curl-dev zlib-dev libpng-dev guichan-dev \
pascal@11223 13 libsdl-gfx-dev enet"
pascal@11223 14 DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
pascal@11223 15 libsdl-ttf curl zlib libpng guichan libsdl-gfx"
pascal@11223 16
pascal@11223 17 # Rules to configure and make the package.
pascal@11223 18 compile_rules()
pascal@11223 19 {
pascal@11223 20 cd $src
gokhlayeh@11573 21 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
pascal@11223 22 make &&
pascal@11223 23 make DESTDIR=$PWD/_pkg install
pascal@11223 24 }
pascal@11223 25
pascal@11223 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11223 27 genpkg_rules()
pascal@11223 28 {
pascal@11223 29 mkdir -p $fs/usr/share
pascal@11223 30 cp -a $_pkg/usr/bin $fs/usr
pascal@11223 31 cp -a $_pkg/usr/share/applications $fs/usr/share/
pascal@11223 32 cp -a $_pkg/usr/share/mana $fs/usr/share/
pascal@11223 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
pascal@11223 34 }