summaryrefslogtreecommitdiffstats
path: root/p5-xml-simple/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'p5-xml-simple/Pkgfile')
-rw-r--r--p5-xml-simple/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/p5-xml-simple/Pkgfile b/p5-xml-simple/Pkgfile
new file mode 100644
index 000000000..46b570fbb
--- /dev/null
+++ b/p5-xml-simple/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Easy API to maintain XML
+# URL: http://search.cpan.org/~grantm/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=p5-xml-simple
+version=2.18
+release=2
+source=(http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$version.tar.gz)
+
+build() {
+ cd XML-Simple-$version
+ perl Makefile.PL
+ mkdir -p $PKG/usr/lib/perl5/5.10.1/i686-linux-thread-multi/
+ make
+ make DESTDIR=$PKG install
+ rm $PKG/usr/share/perl5/base/perllocal.pod
+ rm -rf $PKG/usr/lib/perl5/5.10.1/i686-linux-thread-multi/perllocal.pod
+}