wok view mytop/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents 9600878fc758
children
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="https://web.archive.org/web/20150602163826if_/http://www.mysqlfanboy.com/mytop-3/$TARBALL"
13 WGET_URL="http://www.mysqlfanboy.com/mytop-3/$TARBALL"
15 DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
16 BUILD_DEPENDS="$DEPENDS"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed '/Version/!d;s|.*Version ||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 perl Makefile.PL &&
29 make &&
30 make test &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }