changeset 473:0d9cce40c2dd

perl/perl-xml-namespacesupport: initial import, closes #1571
author David Demelier <markand@malikania.fr>
date Sat, 06 Apr 2019 18:46:22 +0200
parents 001517a322fa
children baf41899fcf6
files perl/perl-xml-namespacesupport/perl-xml-namespacesupport.sh
diffstat 1 files changed, 37 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.sh	Sat Apr 06 18:46:22 2019 +0200
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# Copyright (c) 2019 David Demelier <markand@malikania.fr>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=perl-xml-namespacesupport
+PKGVERSION=1.12
+PKGREVISION=1
+PKGLICENSE="GPLv1+ ART10"
+PKGSUMMARY="XML namespaces support for perl"
+PKGDOWNLOAD="https://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$PKGVERSION.tar.gz"
+PKGDEPENDS="perl/perl"
+
+build()
+{
+	rm -rf XML-NamespaceSupport-$PKGVERSION
+	tar xvaf XML-NamespaceSupport-$PKGVERSION.tar.gz
+	pushd XML-NamespaceSupport-$PKGVERSION
+
+	perl Makefile.PL INSTALLDIRS=vendor
+	make DESTDIR=$DESTDIR install
+
+	popd
+	rm -rf XML-NamespaceSupport-$PKGVERSION
+}