wok-current diff mytop/receipt @ rev 22437
john: fix link, add to right place
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 22 16:03:18 2019 +0000 (2019-12-22) |
parents | |
children | f255cb8d6d9a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mytop/receipt Sun Dec 22 16:03:18 2019 +0000 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 +}