2011-07-14 16:41:01 +00:00
|
|
|
# Template build file for 'perl-HTTP-Negotiate'.
|
|
|
|
pkgname=perl-HTTP-Negotiate
|
|
|
|
version=6.00
|
2013-11-23 10:57:36 +00:00
|
|
|
revision=2
|
2011-07-14 16:41:01 +00:00
|
|
|
wrksrc="HTTP-Negotiate-$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"
|
2013-04-14 09:13:30 +00:00
|
|
|
makedepends="perl-HTTP-Message"
|
2011-07-14 16:41:01 +00:00
|
|
|
short_desc="HTTP::Negotiate - choose a variant to serve"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://search.cpan.org/~gaas/HTTP-Negotiate-6.00/lib/HTTP/Negotiate.pm"
|
|
|
|
license="GPL-2"
|
2013-04-14 09:13:30 +00:00
|
|
|
distfiles="${CPAN_SITE}/HTTP/HTTP-Negotiate-$version.tar.gz"
|
2011-07-14 16:41:01 +00:00
|
|
|
checksum=4e070ea67427ab1843620debc923b820bd41b9018914dfef54bbc7af9257ae82
|
|
|
|
long_desc="
|
|
|
|
This module provides a complete implementation of the HTTP content
|
|
|
|
negotiation algorithm specified in draft-ietf-http-v11-spec-00.ps chapter 12.
|
|
|
|
Content negotiation allows for the selection of a preferred content
|
|
|
|
representation based upon attributes of the negotiable variants and the value
|
|
|
|
of the various Accept* header fields in the request."
|
|
|
|
|
2013-04-14 09:13:30 +00:00
|
|
|
perl-HTTP-Negotiate_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
|
|
|
}
|
|
|
|
}
|