2011-07-14 13:42:16 +00:00
|
|
|
# Template build file for 'perl-LWP-MediaTypes'.
|
|
|
|
pkgname=perl-LWP-MediaTypes
|
|
|
|
version=6.01
|
|
|
|
wrksrc="LWP-MediaTypes-$version"
|
|
|
|
distfiles="${CPAN_SITE}/LWP/LWP-MediaTypes-$version.tar.gz"
|
2011-07-18 14:42:50 +00:00
|
|
|
build_style=perl-module
|
2011-07-14 13:42:16 +00:00
|
|
|
short_desc="LWP::MediaTypes - guess media type for a file or a URL"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://search.cpan.org/~gaas/LWP-MediaTypes-6.01/lib/LWP/MediaTypes.pm"
|
|
|
|
license="GPL-2"
|
|
|
|
checksum=df25a848796bb53ae465924fb1192a19400f37d7446b2fe7f73443db07c51dba
|
|
|
|
long_desc="
|
|
|
|
This module provides functions for handling media (also known as MIME) types
|
|
|
|
and encodings. The mapping from file extensions to media types is defined by
|
|
|
|
the media.types file. If the ~/.media.types file exists it is used instead.
|
|
|
|
For backwards compatibility we will also look for ~/.mime.types."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
Add_dependency full perl
|