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"
WGET_URL="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 - ${WGET_URL%/*} 2>/dev/null | \
    sed '/Version/!d;s|.*Version ||;s|<.*||;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
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)