mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
66 lines
1.1 KiB
Bash
66 lines
1.1 KiB
Bash
SUMMARY="HTTP style message"
|
|
DESCRIPTION="An HTTP::Message object contains some headers and a content body."
|
|
HOMEPAGE="https://metacpan.org/pod/HTTP::Message"
|
|
COPYRIGHT="1994 by Gisle Aas"
|
|
LICENSE="Artistic"
|
|
REVISION="1"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Message-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="5afa95eb6ed1c632e81656201a2738e2c1bc6cbfae2f6d82728e2bb0b519c1dc"
|
|
SOURCE_DIR="HTTP-Message-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
http_message = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
clone
|
|
encode_locale
|
|
http_date
|
|
io_html
|
|
lwp_mediatypes
|
|
uri
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
clone
|
|
encode_locale
|
|
http_date
|
|
io_html
|
|
lwp_mediatypes
|
|
test_needs
|
|
try_tiny
|
|
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
|
|
}
|