wok annotate manaplus/receipt @ rev 14780

manaplus: fix source tarball version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 04 12:43:03 2013 +0000 (2013-07-04)
parents c78298419079
children 881a0dbbfc8e
rev   line source
admin@14599 1 # SliTaz package receipt.
admin@14599 2 PACKAGE="manaplus"
admin@14778 3 VERSION="1.3.6.23"
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 &&
pascal@14780 19 make DESTDIR=$DESTDIR 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
pascal@14780 26 cp -a $install/usr/bin $fs/usr
pascal@14780 27 cp -a $install/usr/share/applications $fs/usr/share/
pascal@14780 28 cp -a $install/usr/share/locale $fs/usr/share/
pascal@14780 29 cp -a $install/usr/share/manaplus $fs/usr/share/
pascal@14780 30 cp -a $install/usr/share/pixmaps $fs/usr/share/
admin@14599 31 }