# HG changeset patch # User Pascal Bellard # Date 1227389641 0 # Node ID abcb02280dfa57591a449673f9777cce488b5d35 # Parent d38ad8b2c6a56638a05245147acffbdcc607b978 Add mtop/mkill diff -r d38ad8b2c6a5 -r abcb02280dfa mtop/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mtop/receipt Sat Nov 22 21:34:01 2008 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="mtop" +VERSION="0.6.6" +CATEGORY="system-tools" +SHORT_DESC="Monitors a MySQL server." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://mtop.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="perl-curses perl-dbd-mysql" +BUILD_DEPENDS="perl-curses perl-dbd-mysql" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL --prefix=/usr/bin && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} +