2011-07-14 18:41:01 +02:00
|
|
|
# Template build file for 'perl-HTTP-Negotiate'.
|
|
|
|
pkgname=perl-HTTP-Negotiate
|
|
|
|
version=6.00
|
2013-11-23 11:57:36 +01:00
|
|
|
revision=2
|
2011-07-14 18:41:01 +02:00
|
|
|
wrksrc="HTTP-Negotiate-$version"
|
2011-07-18 16:42:50 +02:00
|
|
|
build_style=perl-module
|
2013-11-23 11:57:36 +01:00
|
|
|
hostmakedepends="perl>=5.18"
|
2013-04-14 11:13:30 +02:00
|
|
|
makedepends="perl-HTTP-Message"
|
2011-07-14 18:41:01 +02: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 11:13:30 +02:00
|
|
|
distfiles="${CPAN_SITE}/HTTP/HTTP-Negotiate-$version.tar.gz"
|
2011-07-14 18:41:01 +02: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 11:13:30 +02:00
|
|
|
perl-HTTP-Negotiate_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
2013-11-23 11:57:36 +01:00
|
|
|
vmove all
|
2013-04-14 11:13:30 +02:00
|
|
|
}
|
|
|
|
}
|