wok-stable view mtop/receipt @ rev 5820
tazpkg-web: 2.0 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 15 13:45:55 2010 +0200 (2010-07-15) |
parents | abcb02280dfa |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtop"
4 VERSION="0.6.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitors a MySQL server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mtop.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="perl-curses perl-dbd-mysql"
12 BUILD_DEPENDS="perl-curses perl-dbd-mysql"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 perl Makefile.PL --prefix=/usr &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }