wok-current rev 19843

Add mytop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 13 13:16:09 2017 +0100 (2017-03-13)
parents c281a4009aaa
children e25ff83b65ed
files mytop/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mytop/receipt	Mon Mar 13 13:16:09 2017 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mytop"
     1.7 +VERSION="1.6"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="console-based MySQL monitoring tool."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/"
    1.14 +WGET_URL="${WEB_SITE}$TARBALL"
    1.15 +
    1.16 +DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
    1.17 +BUILD_DEPENDS="$DEPENDS"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	perl Makefile.PL
    1.23 +	make &&
    1.24 +	make test &&
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/usr $fs
    1.32 +}