wok annotate manaplus/receipt @ rev 14913

Up: firefox-langpack-da (17.0.7esr)
author Richard Dunbar <mojo@slitaz.org>
date Tue Aug 06 01:12:12 2013 +0000 (2013-08-06)
parents 881a0dbbfc8e
children 7896f0694ef6
rev   line source
admin@14599 1 # SliTaz package receipt.
admin@14599 2 PACKAGE="manaplus"
admin@14881 3 VERSION="1.3.7.21"
admin@14599 4 CATEGORY="games"
admin@14599 5 SHORT_DESC="Extended client for Evol Online and The Mana World"
admin@14599 6 MAINTAINER="admin@trixarian.net"
pascal@14780 7 TARBALL="$PACKAGE-$VERSION.tar.xz"
admin@14599 8 WEB_SITE="http://manaplus.org/"
pascal@14780 9 WGET_URL="http://download.evolonline.org/manaplus/download/$VERSION/$TARBALL"
admin@14599 10 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 11 DEPENDS="curl physfs libxml2 libsdl-mixer libsdl-image libsdl-net libsdl-ttf libpng libsdl-gfx ttf-dejavu zlib"
admin@14599 12
admin@14599 13 # Rules to configure and make the package.
admin@14599 14 compile_rules()
admin@14599 15 {
admin@14599 16 cd $src
admin@14599 17 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS &&
admin@14599 18 make &&
admin@14784 19 make DESTDIR=$PWD/_pkg install
admin@14599 20 }
admin@14599 21
admin@14599 22 # Rules to gen a SliTaz package suitable for Tazpkg.
admin@14599 23 genpkg_rules()
admin@14599 24 {
admin@14599 25 mkdir -p $fs/usr/share
admin@14784 26 cp -a $_pkg/usr/bin $fs/usr
admin@14784 27 cp -a $_pkg/usr/share/applications $fs/usr/share/
admin@14784 28 cp -a $_pkg/usr/share/locale $fs/usr/share/
admin@14784 29 cp -a $_pkg/usr/share/manaplus $fs/usr/share/
admin@14784 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share/
admin@14599 31 }