2011-07-14 16:41:01 +00:00
|
|
|
# Template build file for 'perl-HTTP-Negotiate'.
|
|
|
|
pkgname=perl-HTTP-Negotiate
|
2013-11-23 11:33:46 +00:00
|
|
|
version=6.01
|
|
|
|
revision=1
|
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>"
|
2013-11-23 11:33:46 +00:00
|
|
|
homepage="http://search.cpan.org/dist/HTTP-Negotiate"
|
2011-07-14 16:41:01 +00:00
|
|
|
license="GPL-2"
|
2013-04-14 09:13:30 +00:00
|
|
|
distfiles="${CPAN_SITE}/HTTP/HTTP-Negotiate-$version.tar.gz"
|
2013-11-23 11:33:46 +00:00
|
|
|
checksum=1c729c1ea63100e878405cda7d66f9adfd3ed4f1d6cacaca0ee9152df728e016
|
2011-07-14 16:41:01 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|