wok-4.x view mtop/receipt @ rev 1744

Add mtop/mkill
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 22 21:34:01 2008 +0000 (2008-11-22)
parents
children 81601463d8a0
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/bin &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }