diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-19 15:22:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-19 15:22:40 (GMT) |
commit | eaa1e24dfe16f3f5a3d12b194f977e971c8f4b4b (patch) | |
tree | 1039b920717da374ee67975622724f17f6fe89e1 /abs/core-testing/perl_modules/perl-device-serialport | |
parent | e7d7822ab75eeb5b35fd7ee6d9a1cfc4e730272e (diff) | |
parent | 6f90626a0bf289be8f0497fd6b135c7ef831e0fd (diff) | |
download | linhes_pkgbuild-eaa1e24dfe16f3f5a3d12b194f977e971c8f4b4b.zip linhes_pkgbuild-eaa1e24dfe16f3f5a3d12b194f977e971c8f4b4b.tar.gz linhes_pkgbuild-eaa1e24dfe16f3f5a3d12b194f977e971c8f4b4b.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Diffstat (limited to 'abs/core-testing/perl_modules/perl-device-serialport')
-rw-r--r-- | abs/core-testing/perl_modules/perl-device-serialport/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-device-serialport/PKGBUILD b/abs/core-testing/perl_modules/perl-device-serialport/PKGBUILD new file mode 100644 index 0000000..d1341c8 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-device-serialport/PKGBUILD @@ -0,0 +1,29 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Ross melin <rdmelin@gmail.com> + +# Required by zoneminder + +pkgname=perl-device-serialport +pkgver=1.04 +pkgrel=2 +pkgdesc="POSIX clone of Win32::SerialPort" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~COOK/Device-SerialPort" +license=('GPL' 'PerlArtistic') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-$pkgver.tar.gz) +md5sums=('82c698151f934eb28c65d1838cee7d9e') + +build() { + cd $startdir/src/Device-SerialPort-$pkgver + eval `perl -V:archname` + PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ + INSTALLDIRS=vendor || return 1 + + /usr/bin/make || return 1 + /usr/bin/make DESTDIR=$startdir/pkg install || return 1 + /usr/bin/find $startdir/pkg -name '.packlist' -delete + /usr/bin/find $startdir/pkg -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: |