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