wok-6.x view mytop/receipt @ rev 20906
perl-glib: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 10:53:14 2019 +0100 (2019-02-27) |
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 }