mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
http_cookies: new perl module recipe
This commit is contained in:
64
dev-perl/http_cookies/http_cookies-6.11.recipe
Normal file
64
dev-perl/http_cookies/http_cookies-6.11.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY="HTTP cookie jars"
|
||||
DESCRIPTION="This class is for objects that represent a \"cookie jar\" -- that is, a database of \
|
||||
all the HTTP cookies that a given LWP::UserAgent object knows about.
|
||||
Cookies are a general mechanism which server side connections can use to both store and retrieve \
|
||||
information on the client side of the connection. For more information about cookies refer to \
|
||||
Cookie Spec and Cookie Central. This module also implements the new style cookies described in \
|
||||
RFC 2965. The two variants of cookies are supposed to be able to coexist happily.
|
||||
Instances of the class HTTP::Cookies are able to store a collection of Set-Cookie2: and \
|
||||
Set-Cookie: headers and are able to use this information to initialize Cookie-headers in \
|
||||
HTTP::Request objects. The state of a HTTP::Cookies object can be saved in and restored from files."
|
||||
HOMEPAGE="https://metacpan.org/pod/HTTP::Cookies"
|
||||
COPYRIGHT="2002 by Gisle Aas"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Cookies-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8c9a541a4a39f6c0c7e3d0b700b05dfdb830bd490a1b1942a7dedd1b50d9a8c8"
|
||||
SOURCE_DIR="HTTP-Cookies-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
http_cookies = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
http_date
|
||||
http_message
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
http_date
|
||||
http_message
|
||||
uri
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user