summaryrefslogtreecommitdiff
path: root/pcr/perl-unix-syslog/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-22 13:03:18 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-22 13:03:18 -0300
commitba0b8906199404b7b00cfeac91bff3036b8692e8 (patch)
tree77d6dbaf822d1a66046f76c6698ec9d0f61a9bcd /pcr/perl-unix-syslog/PKGBUILD
parentadc549e8519824da803230cee62bfd7d808df989 (diff)
parentf97ff910471fb3ae2c8ea69befecaae8cbf6dbea (diff)
downloadabslibre-ba0b8906199404b7b00cfeac91bff3036b8692e8.tar.gz
abslibre-ba0b8906199404b7b00cfeac91bff3036b8692e8.tar.bz2
abslibre-ba0b8906199404b7b00cfeac91bff3036b8692e8.zip
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/perl-unix-syslog/PKGBUILD')
-rw-r--r--pcr/perl-unix-syslog/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/perl-unix-syslog/PKGBUILD b/pcr/perl-unix-syslog/PKGBUILD
new file mode 100644
index 000000000..5f4acd962
--- /dev/null
+++ b/pcr/perl-unix-syslog/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Justin Davis <jrcd83@gmail.com>
+# Generator : CPANPLUS::Dist::Arch 1.04
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname='perl-unix-syslog'
+pkgver='1.1'
+pkgrel='1'
+pkgdesc="Interface to syslog functions in a C-library"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('glibc>=2.12.1' 'perl')
+url='http://search.cpan.org/dist/Unix-Syslog'
+source=('http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-1.1.tar.gz')
+
+build() {
+ PERL=/usr/bin/perl
+ DIST_DIR="${srcdir}/Unix-Syslog-1.1"
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ { cd "$DIST_DIR" &&
+ $PERL Makefile.PL &&
+ make &&
+ make test &&
+ make install;
+ } || return 1;
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}