# SliTaz package receipt.

PACKAGE="perl-xml-rss"
VERSION="1.48"
CATEGORY="development"
SHORT_DESC="XML::RSS module is a Perl extension."
MAINTAINER="pascal.bellard@slitaz.org"
DEPENDS="perl perl-xml-parser perl-datetime perl-datetime-format-mail \
perl-datetime-format-w3cdtf"
BUILD_DEPENDS="wget $DEPENDS"
SOURCE="XML-RSS"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://cpan.uwinnipeg.ca/dist/XML-RSS"
WGET_URL="http://cpan.uwinnipeg.ca/cpan/authors/id/S/SH/SHLOMIF/$TARBALL"

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

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