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