wok view mytop/receipt @ rev 24899

updated mediawiki (1.34.1 -> 1.37.2)
author Hans-G?nter Theisgen
date Sat Apr 09 09:41:00 2022 +0100 (2022-04-09)
parents 241fb98cab1c
children 6e5c8ce7fb15
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://www.mysqlfanboy.com/mytop-3/$TARBALL"
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 }