wok annotate 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 |
rev | line source |
---|---|
pascal@1744 | 1 # SliTaz package receipt. |
pascal@1744 | 2 |
pascal@1744 | 3 PACKAGE="mtop" |
pascal@1744 | 4 VERSION="0.6.6" |
pascal@1744 | 5 CATEGORY="system-tools" |
pascal@1744 | 6 SHORT_DESC="Monitors a MySQL server." |
pascal@1744 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1744 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1744 | 9 WEB_SITE="http://mtop.sourceforge.net/" |
pascal@1744 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1744 | 11 DEPENDS="perl-curses perl-dbd-mysql" |
pascal@1744 | 12 BUILD_DEPENDS="perl-curses perl-dbd-mysql" |
pascal@1744 | 13 |
pascal@1744 | 14 # Rules to configure and make the package. |
pascal@1744 | 15 compile_rules() |
pascal@1744 | 16 { |
pascal@1744 | 17 cd $src |
pascal@1744 | 18 perl Makefile.PL --prefix=/usr/bin && |
pascal@1744 | 19 make && |
pascal@1744 | 20 make DESTDIR=$PWD/_pkg install |
pascal@1744 | 21 } |
pascal@1744 | 22 |
pascal@1744 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1744 | 24 genpkg_rules() |
pascal@1744 | 25 { |
pascal@1744 | 26 mkdir -p $fs/usr |
pascal@1744 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@1744 | 28 } |
pascal@1744 | 29 |