# SliTaz package receipt.

PACKAGE="perl-digest-md5"
VERSION="2.51"
CATEGORY="development"
SHORT_DESC="Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm"
MAINTAINER="slaxemulator@gmail.com"
WEB_SITE="http://search.cpan.org/dist/Digest-MD5"
SOURCE="Digest-MD5"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$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()
{
	mkdir -p $fs/usr
	cp -a $install/usr/lib $fs/usr
}