wok-stable view mtop/receipt @ rev 8199

imported patch toolchain/make.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
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 }