mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
54 lines
1.3 KiB
Bash
54 lines
1.3 KiB
Bash
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
|
|
}
|