wok annotate mtop/receipt @ rev 7323
autofs: add /etc/init.d/autofs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 18 09:56:09 2010 +0100 (2010-11-18) |
parents | abcb02280dfa |
children | 6ee670da65cd |
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 |