wok annotate manaplus/receipt @ rev 20595

xfi, xfw, cryptkeeper: dirty hack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 16 10:41:06 2018 +0100 (2018-12-16)
parents 7f646ca10d23
children 58b5793034e8
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
pascal@17482 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 libpng-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 }