Files
haikuports/dev-perl/uri/uri-1.72.recipe
2017-11-15 22:55:21 +10:00

49 lines
1.2 KiB
Bash

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="2"
SOURCE_URI="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/URI-$portVersion.tar.gz"
CHECKSUM_SHA256="35f14431d4b300de4be1163b0b5332de2d7fbda4f05ff1ed198a8e9330d40a32"
SOURCE_DIR="URI-$portVersion"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
uri = $portVersion
"
REQUIRES="
haiku
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install DESTDIR="${DESTDIR}"
}