# SliTaz package receipt.

PACKAGE="perl-math-round"
VERSION="0.06"
CATEGORY="development"
SHORT_DESC="Perl extension for rounding numbers"
MAINTAINER="slaxemulator@gmail.com"
WEB_SITE="http://search.cpan.org/dist/Math-Round"
SOURCE="Math-Round"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="http://www.cpan.org/authors/id/G/GR/GROMMEL/$TARBALL"

DEPENDS="perl"
BUILD_DEPENDS="perl"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	perl Makefile.PL &&
	make &&
	make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $install/usr $fs
}