2011-07-14 14:20:26 +00:00
|
|
|
# Template build file for 'perl-HTTP-Message'.
|
|
|
|
pkgname=perl-HTTP-Message
|
2013-11-23 11:18:16 +00:00
|
|
|
version=6.06
|
|
|
|
revision=1
|
2011-07-14 14:20:26 +00:00
|
|
|
wrksrc="HTTP-Message-$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-LWP-MediaTypes perl-Encode-Locale perl-URI perl-HTTP-Date perl-HTML-Parser"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
2011-07-14 14:20:26 +00:00
|
|
|
short_desc="HTTP::Message - HTTP style message (base class)"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2013-11-23 11:18:16 +00:00
|
|
|
homepage="http://search.cpan.org/dist/HTTP-Message"
|
2011-07-14 14:20:26 +00:00
|
|
|
license="GPL-2"
|
2013-04-14 09:13:30 +00:00
|
|
|
distfiles="${CPAN_SITE}/HTTP/HTTP-Message-$version.tar.gz"
|
2013-11-23 11:18:16 +00:00
|
|
|
checksum=087e97009c5239dca4631cf433d836771b3fc5ba5685eef1965f9d3415cbad63
|
2011-07-14 16:02:10 +00:00
|
|
|
long_desc='
|
2011-07-14 14:20:26 +00:00
|
|
|
An HTTP::Message object contains some headers and a content body. The
|
|
|
|
following methods are available:
|
|
|
|
|
|
|
|
$mess = HTTP::Message->new
|
|
|
|
$mess = HTTP::Message->new( $headers )
|
2011-07-14 16:02:10 +00:00
|
|
|
$mess = HTTP::Message->new( $headers, $content )'
|