mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
URI: add recipe for perl module
This commit is contained in:
48
dev-perl/uri/uri-1.72.recipe
Normal file
48
dev-perl/uri/uri-1.72.recipe
Normal file
@@ -0,0 +1,48 @@
|
||||
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="1"
|
||||
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}"
|
||||
}
|
||||
Reference in New Issue
Block a user