SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mytop"

# SliTaz package receipt.

PACKAGE="mytop"
VERSION="1.9.1"
CATEGORY="misc"
SHORT_DESC="Console-based MySQL monitoring tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://web.archive.org/web/20150602163826if_/http://www.mysqlfanboy.com/mytop-3/$TARBALL"

DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
BUILD_DEPENDS="$DEPENDS"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/mytop-[0-9]/!d;s|.*top-||;s|.t.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    perl Makefile.PL &&
    make &&
    make test &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)