wok annotate manaplus/receipt @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents 58b5793034e8
children f4e11d380d56
rev   line source
admin@14599 1 # SliTaz package receipt.
pascal@15002 2
admin@14599 3 PACKAGE="manaplus"
Hans-G?nter@21418 4 VERSION="1.9.3.23"
admin@14599 5 CATEGORY="games"
Hans-G?nter@21418 6 SHORT_DESC="Extended client for Evol Online and The Mana World."
admin@14599 7 MAINTAINER="admin@trixarian.net"
pascal@15002 8 LICENSE="GPL2"
Hans-G?nter@21418 9 WEB_SITE="https://manaplus.org/"
Hans-G?nter@21418 10
pascal@14780 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@14780 12 WGET_URL="http://download.evolonline.org/manaplus/download/$VERSION/$TARBALL"
pascal@15002 13
Hans-G?nter@21418 14 DEPENDS="curl libpng libsdl-gfx libsdl-image libsdl-mixer libsdl-net \
Hans-G?nter@21418 15 libsdl-ttf libxml2 physfs ttf-dejavu zlib"
Hans-G?nter@21418 16 BUILD_DEPENDS="curl-dev enet libpng-dev libsdl-gfx-dev libsdl-image-dev \
Hans-G?nter@21418 17 libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev libxml2-dev \
Hans-G?nter@21418 18 physfs-dev zlib-dev"
admin@14599 19
pascal@24453 20 # What is the latest version available today?
pascal@24453 21 current_version()
pascal@24453 22 {
pascal@24453 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24453 24 sed '/Latest version/!d;s|.*version: ||;s|<.*||;q'
pascal@24453 25 }
pascal@24453 26
admin@14599 27 # Rules to configure and make the package.
admin@14599 28 compile_rules()
admin@14599 29 {
Hans-G?nter@21418 30 ./configure \
Hans-G?nter@21418 31 --prefix=/usr \
Hans-G?nter@21418 32 --without-opengl \
Hans-G?nter@21418 33 $CONFIGURE_ARGS &&
Hans-G?nter@21418 34 make -j 1 &&
pascal@15002 35 make DESTDIR=$DESTDIR install
admin@14599 36 }
admin@14599 37
admin@14599 38 # Rules to gen a SliTaz package suitable for Tazpkg.
admin@14599 39 genpkg_rules()
admin@14599 40 {
admin@14599 41 mkdir -p $fs/usr/share
Hans-G?nter@21418 42
Hans-G?nter@21418 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21418 44 cp -a $install/usr/share/applications $fs/usr/share/
Hans-G?nter@21418 45 cp -a $install/usr/share/locale $fs/usr/share/
Hans-G?nter@21418 46 cp -a $install/usr/share/manaplus $fs/usr/share/
Hans-G?nter@21418 47 cp -a $install/usr/share/pixmaps $fs/usr/share/
admin@14599 48 }