SUMMARY="A perl URI module"
DESCRIPTION="This module implements the URI class. Objects of this class \
represent \"Uniform Resource Identifier references\" as specified in RFC 2396 \
(and updated by RFC 2732).

A Uniform Resource Identifier is a compact string of characters that \
identifies an abstract or physical resource. A Uniform Resource Identifier \
can be further classified as either a Uniform Resource Locator (URL) or a \
Uniform Resource Name (URN). The distinction between URL and URN does not \
matter to the URI class interface. A \"URI-reference\" is a URI that may have \
additional information attached in the form of a fragment identifier."
HOMEPAGE="https://github.com/libwww-perl/URI"
COPYRIGHT="1995-2009 Gisle Aas"
LICENSE="Artistic"
REVISION="5"
SOURCE_URI="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-$portVersion.tar.gz"
CHECKSUM_SHA256="b2c98e1d50d6f572483ee538a6f4ccc8d9185f91f0073fd8af7390898254413e"
SOURCE_DIR="URI-$portVersion"

ARCHITECTURES="any"

PROVIDES="
	uri = $portVersion
	"
REQUIRES="
	haiku
	vendor_perl
	"

BUILD_REQUIRES="
	haiku_devel
	cmd:perl
	"
BUILD_PREREQUIRES="
	cmd:make
	"

BUILD()
{
	perl Makefile.PL PREFIX=$prefix
	make
}

INSTALL()
{
	make install DESTDIR="${DESTDIR}"
}
