# HG changeset patch # User Pascal Bellard # Date 1489407369 -3600 # Node ID 26588c3dfe816d822e0d5a15d973fde03f9c66f7 # Parent c281a4009aaa6eeee3f77d987abf49f00a1ef56a Add mytop diff -r c281a4009aaa -r 26588c3dfe81 mytop/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mytop/receipt Mon Mar 13 13:16:09 2017 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="mytop" +VERSION="1.6" +CATEGORY="misc" +SHORT_DESC="console-based MySQL monitoring tool." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/" +WGET_URL="${WEB_SITE}$TARBALL" + +DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey" +BUILD_DEPENDS="$DEPENDS" + +# 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 +}