diff --git a/dev-perl/xml_namespacesupport/xml_namespacesupport-1.12.recipe b/dev-perl/xml_namespacesupport/xml_namespacesupport-1.12.recipe new file mode 100644 index 000000000..10b0f94cb --- /dev/null +++ b/dev-perl/xml_namespacesupport/xml_namespacesupport-1.12.recipe @@ -0,0 +1,53 @@ +SUMMARY="A simple generic namespace processor" +DESCRIPTION="This module offers a simple to process namespaced XML names (unames) from within any \ +application that may need them. It also helps maintain a prefix to namespace URI map, and \ +provides a number of basic checks. +The model for this module is SAX2's NamespaceSupport class, readable at \ +http://www.saxproject.org/namespaces.html It adds a few perlisations where we thought it \ +appropriate." +HOMEPAGE="https://metacpan.org/pod/XML::NamespaceSupport" +COPYRIGHT="2015 by Robin Berjon" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$portVersion.tar.gz" +CHECKSUM_SHA256="47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef" +SOURCE_DIR="XML-NamespaceSupport-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + xml_namespacesupport = $portVersion + " +REQUIRES=" + haiku + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +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 +}