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