2011-07-14 13:42:16 +00:00
|
|
|
# Template build file for 'perl-LWP-MediaTypes'.
|
|
|
|
pkgname=perl-LWP-MediaTypes
|
2013-11-23 11:12:35 +00:00
|
|
|
version=6.02
|
|
|
|
revision=1
|
2011-07-14 13:42:16 +00:00
|
|
|
wrksrc="LWP-MediaTypes-$version"
|
2011-07-18 14:42:50 +00:00
|
|
|
build_style=perl-module
|
2013-11-23 10:57:36 +00:00
|
|
|
hostmakedepends="perl>=5.18"
|
|
|
|
makedepends="${hostmakedepends}"
|
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>"
|
2013-11-23 11:12:35 +00:00
|
|
|
homepage="https://metacpan.org/release/LWP-MediaTypes"
|
2011-07-14 13:42:16 +00:00
|
|
|
license="GPL-2"
|
2013-04-14 09:13:30 +00:00
|
|
|
distfiles="${CPAN_SITE}/LWP/LWP-MediaTypes-$version.tar.gz"
|
2013-11-23 11:12:35 +00:00
|
|
|
checksum=18790b0cc5f0a51468495c3847b16738f785a2d460403595001e0b932e5db676
|
2011-07-14 13:42:16 +00:00
|
|
|
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."
|
|
|
|
|
2013-04-14 09:13:30 +00:00
|
|
|
perl-LWP-MediaTypes_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
2013-11-23 10:57:36 +00:00
|
|
|
vmove all
|
2013-04-14 09:13:30 +00:00
|
|
|
}
|
|
|
|
}
|