wok-4.x annotate mtop/receipt @ rev 8095
Up: tazchroot 0.0.2
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Jan 22 18:08:21 2011 +0100 (2011-01-22) |
parents | abcb02280dfa |
children |
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@1748 | 18 perl Makefile.PL --prefix=/usr && |
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@1748 | 26 cp -a $_pkg/usr $fs |
pascal@1744 | 27 } |
pascal@1744 | 28 |