From 746f11fa451b309860ffa8b957803c9eade16dc6 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Tue, 26 Sep 2017 14:05:54 +0300 Subject: [PATCH] URI: add recipe for perl module --- dev-perl/uri/uri-1.72.recipe | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dev-perl/uri/uri-1.72.recipe diff --git a/dev-perl/uri/uri-1.72.recipe b/dev-perl/uri/uri-1.72.recipe new file mode 100644 index 000000000..61a2dda60 --- /dev/null +++ b/dev-perl/uri/uri-1.72.recipe @@ -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}" +}