summaryrefslogtreecommitdiffstats
path: root/p5-yaml/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'p5-yaml/Pkgfile')
-rw-r--r--p5-yaml/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/p5-yaml/Pkgfile b/p5-yaml/Pkgfile
new file mode 100644
index 000000000..d53f0072f
--- /dev/null
+++ b/p5-yaml/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Implémentation Perl de YAML
+# URL: http://search.cpan.org/dist/YAML/
+# Maintainer: NuTyX core team
+# Packager: fred.galusik at gmail dot com
+# Depends on:
+
+name=p5-yaml
+version=0.72
+release=1
+source=(http://www.cpan.org/authors/id/A/AD/ADAMK//YAML-$version.tar.gz)
+
+build() {
+cd YAML-$version
+ perl Makefile.PL
+ make
+ make DESTDIR=$PKG install
+ find $PKG \
+ -name perllocal.pod \
+ -o -name .packlist | xargs rm
+ find $PKG -empty | xargs rmdir -p ||:
+}
+