# HG changeset patch # User Christopher Rogers # Date 1330323362 18000 # Node ID 3bc98e49f52bf6b50df053ef2458883ec2f23fbd # Parent df423c5eb012e33760a414a0c4cc0440759a60e3 Add perl-lwp-mediatypes. diff -r df423c5eb012 -r 3bc98e49f52b perl-lwp-mediatypes/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-lwp-mediatypes/receipt Mon Feb 27 01:16:02 2012 -0500 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="perl-lwp-mediatypes" +VERSION="6.02" +CATEGORY="development" +SHORT_DESC="guess media type for a file or a URL" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes" +SOURCE="LWP-MediaTypes" +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() +{ + cp -a $install/* $fs +}