wok annotate mytop/receipt @ rev 20653

Down dietlibc (0.33)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 10:59:57 2019 +0100 (2019-01-13)
parents
children f255cb8d6d9a
rev   line source
pascal@19843 1 # SliTaz package receipt.
pascal@19843 2
pascal@19843 3 PACKAGE="mytop"
pascal@19843 4 VERSION="1.6"
pascal@19843 5 CATEGORY="misc"
pascal@19843 6 SHORT_DESC="console-based MySQL monitoring tool."
pascal@19843 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19843 8 LICENSE="GPL2"
pascal@19843 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19843 10 WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/"
pascal@19843 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@19843 12
pascal@19843 13 DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
pascal@19843 14 BUILD_DEPENDS="$DEPENDS"
pascal@19843 15
pascal@19843 16 # Rules to configure and make the package.
pascal@19843 17 compile_rules()
pascal@19843 18 {
pascal@19843 19 perl Makefile.PL
pascal@19843 20 make &&
pascal@19843 21 make test &&
pascal@19843 22 make DESTDIR=$DESTDIR install
pascal@19843 23 }
pascal@19843 24
pascal@19843 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19843 26 genpkg_rules()
pascal@19843 27 {
pascal@19843 28 cp -a $install/usr $fs
pascal@19843 29 }