From b4674e2998a27dde6c8bb3d1fc61a5ca361dd45a Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:48:21 +0000 Subject: perl-sys-mmap: initial include --- abs/extra/perl-sys-mmap/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 abs/extra/perl-sys-mmap/PKGBUILD diff --git a/abs/extra/perl-sys-mmap/PKGBUILD b/abs/extra/perl-sys-mmap/PKGBUILD new file mode 100644 index 0000000..a5e73f7 --- /dev/null +++ b/abs/extra/perl-sys-mmap/PKGBUILD @@ -0,0 +1,27 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Ross melin + +# Required by zoneminder =>1.24.0 + +pkgname=perl-sys-mmap +pkgver=0.13 +pkgrel=1 +pkgdesc="uses mmap to map in a file as a Perl variable" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~SWALTERS/Sys-Mmap" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/S/SW/SWALTERS/Sys-Mmap-$pkgver.tar.gz) +md5sums=('e65a007157e3e26807db52299497109d') + +build() { + cd $startdir/src/Sys-Mmap-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=$startdir/pkg || return 1 + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: \ No newline at end of file -- cgit v0.12