wok annotate mirage/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (16 months ago)
parents 370da83187ab
children
rev   line source
paul@1855 1 # SliTaz package receipt.
paul@1855 2
paul@1855 3 PACKAGE="mirage"
slaxemulator@10229 4 VERSION="0.9.5.2"
paul@1855 5 CATEGORY="graphics"
paul@1855 6 SHORT_DESC="A fast and simple image viewer."
paul@1855 7 MAINTAINER="paul@slitaz.org"
pascal@15583 8 LICENSE="GPL3"
slaxemulator@6474 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25460 10 WEB_SITE="https://mirageiv.sourceforge.net/"
paul@1855 11 WGET_URL="http://download.berlios.de/mirageiv/$TARBALL"
paul@1855 12
pascal@15583 13 DEPENDS="python pygtk xorg-libX11 xorg-libXau xorg-libXdmcp libffi"
pascal@15583 14 BUILD_DEPENDS="python python-dev xorg-xproto xorg-libX11-dev gettext"
pascal@15583 15
pascal@24361 16 # What is the latest version available today?
pascal@24361 17 current_version()
pascal@24361 18 {
pascal@24361 19 wget -O - https://sourceforge.net/projects/mirageiv/files/ 2>/dev/null | \
pascal@24361 20 sed '/scope="row/!d;s|.*/mirage-||;s|.tar.*||;q'
pascal@24361 21 }
pascal@24361 22
paul@1855 23 # Rules to configure and make the package.
paul@1855 24 compile_rules()
paul@1855 25 {
pascal@15583 26 python setup.py install --root=$DESTDIR
paul@1855 27 }
paul@1855 28
paul@1855 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@1855 30 genpkg_rules()
paul@1855 31 {
pascal@15583 32 cp -a $install/usr $fs
paul@1855 33 }