mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
60 lines
1.2 KiB
Bash
60 lines
1.2 KiB
Bash
SUMMARY="A minimalist HTTP user agent cookie jar"
|
|
DESCRIPTION="This module implements a minimalist HTTP user agent cookie jar in conformance with \
|
|
RFC 6265.
|
|
Unlike the commonly used HTTP::Cookies module, this module does not require use of HTTP::Request \
|
|
and HTTP::Response objects. An LWP-compatible adapter is available as HTTP::CookieJar::LWP."
|
|
HOMEPAGE="https://metacpan.org/pod/HTTP::CookieJar"
|
|
COPYRIGHT="2013 by David Golden"
|
|
LICENSE="Apache v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/HTTP-CookieJar-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7094ea5c91f536d263b85e83ab4e9a963e11c4408ce08ecae553fa9c0cc47e73"
|
|
SOURCE_DIR="HTTP-CookieJar-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
http_cookiejar = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
http_date
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
http_date
|
|
test_deep
|
|
test_requires
|
|
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
|
|
}
|