summaryrefslogtreecommitdiffstats
path: root/base/p5-yaml/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/p5-yaml/Pkgfile')
-rw-r--r--base/p5-yaml/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/base/p5-yaml/Pkgfile b/base/p5-yaml/Pkgfile
new file mode 100644
index 000000000..737940948
--- /dev/null
+++ b/base/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.68
+release=1
+source=(http://search.cpan.org/CPAN/authors/id/I/IN/INGY/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 ||:
+}
+