wok annotate manaplus/receipt @ rev 16404

Up: slitaz-tools, slitaz-tools-boxes (5.7.2) bugfix
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 16 15:34:54 2014 +0300 (2014-04-16)
parents 7896f0694ef6
children 9689f1b75619
rev   line source
admin@14599 1 # SliTaz package receipt.
pascal@15002 2
admin@14599 3 PACKAGE="manaplus"
admin@15005 4 VERSION="1.3.8.4"
admin@14599 5 CATEGORY="games"
admin@14599 6 SHORT_DESC="Extended client for Evol Online and The Mana World"
admin@14599 7 MAINTAINER="admin@trixarian.net"
pascal@15002 8 LICENSE="GPL2"
pascal@14780 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
admin@14599 10 WEB_SITE="http://manaplus.org/"
pascal@14780 11 WGET_URL="http://download.evolonline.org/manaplus/download/$VERSION/$TARBALL"
pascal@15002 12
admin@14599 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"
admin@14599 14 DEPENDS="curl physfs libxml2 libsdl-mixer libsdl-image libsdl-net libsdl-ttf libpng libsdl-gfx ttf-dejavu zlib"
admin@14599 15
admin@14599 16 # Rules to configure and make the package.
admin@14599 17 compile_rules()
admin@14599 18 {
admin@14599 19 cd $src
admin@14599 20 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
admin@14599 21 make &&
pascal@15002 22 make DESTDIR=$DESTDIR install
admin@14599 23 }
admin@14599 24
admin@14599 25 # Rules to gen a SliTaz package suitable for Tazpkg.
admin@14599 26 genpkg_rules()
admin@14599 27 {
admin@14599 28 mkdir -p $fs/usr/share
pascal@15002 29 cp -a $install/usr/bin $fs/usr
pascal@15002 30 cp -a $install/usr/share/applications $fs/usr/share/
pascal@15002 31 cp -a $install/usr/share/locale $fs/usr/share/
pascal@15002 32 cp -a $install/usr/share/manaplus $fs/usr/share/
pascal@15002 33 cp -a $install/usr/share/pixmaps $fs/usr/share/
admin@14599 34 }