wok-6.x diff mytop/receipt @ rev 20031
Down: mosh (1.2.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 20 18:36:55 2017 +0200 (2017-08-20) |
parents | |
children | f255cb8d6d9a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mytop/receipt Sun Aug 20 18:36:55 2017 +0200 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 +}