wok-current annotate mytop/receipt @ rev 25262

updated rclone (1.51.0 -> 1.59.0)
author Hans-G?nter Theisgen
date Fri Jul 15 08:42:33 2022 +0100 (2022-07-15)
parents ad9008f821da
children 9600878fc758
rev   line source
pascal@19843 1 # SliTaz package receipt.
pascal@19843 2
pascal@19843 3 PACKAGE="mytop"
Hans-G?nter@23209 4 VERSION="1.9.1"
pascal@19843 5 CATEGORY="misc"
Hans-G?nter@23209 6 SHORT_DESC="Console-based MySQL monitoring tool."
pascal@19843 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19843 8 LICENSE="GPL2"
Hans-G?nter@23209 9 WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/"
Hans-G?nter@23209 10
pascal@19843 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25036 12 WGET_URL="http://deb.debian.org/debian/pool/main/m/mytop/mytop_$VERSION.orig.tar.gz"
pascal@19843 13
pascal@19843 14 DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
pascal@19843 15 BUILD_DEPENDS="$DEPENDS"
pascal@19843 16
pascal@24453 17 # What is the latest version available today?
pascal@24453 18 current_version()
pascal@24453 19 {
pascal@24453 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24626 21 sed '/mytop-[0-9]/!d;s|.*top-||;s|.t.*||;q'
pascal@24453 22 }
pascal@24453 23
pascal@19843 24 # Rules to configure and make the package.
pascal@19843 25 compile_rules()
pascal@19843 26 {
Hans-G?nter@23209 27 perl Makefile.PL &&
pascal@19843 28 make &&
pascal@19843 29 make test &&
pascal@19843 30 make DESTDIR=$DESTDIR install
pascal@19843 31 }
pascal@19843 32
pascal@19843 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19843 34 genpkg_rules()
pascal@19843 35 {
Hans-G?nter@23209 36 cp -a $install/usr $fs
pascal@19843 37 }