wok view mtop/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 6ee670da65cd
children
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mtop.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="perl-curses perl-dbd-mysql"
14 BUILD_DEPENDS="perl-curses perl-dbd-mysql"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 perl Makefile.PL --prefix=/usr &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }