void-packages/srcpkgs/perl-LWP-MediaTypes/template

21 lines
893 B
Text

# Template build file for 'perl-LWP-MediaTypes'.
pkgname=perl-LWP-MediaTypes
version=6.02
revision=1
wrksrc="LWP-MediaTypes-$version"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="LWP::MediaTypes - guess media type for a file or a URL"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="https://metacpan.org/release/LWP-MediaTypes"
license="GPL-2"
distfiles="${CPAN_SITE}/LWP/LWP-MediaTypes-$version.tar.gz"
checksum=18790b0cc5f0a51468495c3847b16738f785a2d460403595001e0b932e5db676
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."