From bc8a09e8e7ae5cac0206fa6ea7bc08ae3b64662f Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 4 Oct 2008 18:03:07 -0700 Subject: perl modules needed by tweaker --- .../perl_modules/perl-getopt-lucid/PKGBUILD | 25 ++++++++++++++++++++++ .../perl_modules/perl-list-member/PKGBUILD | 24 +++++++++++++++++++++ .../perl_modules/perl-log-dispatch/PKGBUILD | 23 ++++++++++++++++++++ .../perl_modules/perl-log-log4perl/PKGBUILD | 23 ++++++++++++++++++++ .../perl_modules/perl-params-validate/PKGBUILD | 23 ++++++++++++++++++++ 5 files changed, 118 insertions(+) create mode 100644 abs/core-testing/perl_modules/perl-getopt-lucid/PKGBUILD create mode 100644 abs/core-testing/perl_modules/perl-list-member/PKGBUILD create mode 100644 abs/core-testing/perl_modules/perl-log-dispatch/PKGBUILD create mode 100644 abs/core-testing/perl_modules/perl-log-log4perl/PKGBUILD create mode 100644 abs/core-testing/perl_modules/perl-params-validate/PKGBUILD diff --git a/abs/core-testing/perl_modules/perl-getopt-lucid/PKGBUILD b/abs/core-testing/perl_modules/perl-getopt-lucid/PKGBUILD new file mode 100644 index 0000000..9905900 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-getopt-lucid/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=perl-getopt-lucid +_realname=Getopt-Lucid +pkgver=0.17 +pkgrel=1 +pkgdesc="Perl/CPAN Getopt::Lucid - Clear, readable syntax for command line processing" +url="http://search.cpan.org/dist/${_realname}/" +arch=(i686 x86_64) +license=('PerlArtistic' 'GPL') +depends=('perl>=5.10.0') +options=('!emptydirs') +#http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Getopt-Lucid-0.17.tar.gz + +source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/${_realname}-${pkgver}.tar.gz) + +build() { + cd ${startdir}/src/${_realname}-${pkgver} + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=${startdir}/pkg || return 1 + + # remove perllocal.pod and .packlist + find ${startdir}/pkg -name perllocal.pod -delete + find ${startdir}/pkg -name .packlist -delete +} diff --git a/abs/core-testing/perl_modules/perl-list-member/PKGBUILD b/abs/core-testing/perl_modules/perl-list-member/PKGBUILD new file mode 100644 index 0000000..d944a68 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-list-member/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=perl-list-member +_realname=List-Member +pkgver=0.043 +pkgrel=1 +pkgdesc="Perl/CPAN List::Member - PROLOG's member/2: return index of $x in @y." +url="http://search.cpan.org/dist/${_realname}/" +arch=(i686 x86_64) +license=('PerlArtistic' 'GPL') +depends=('perl>=5.10.0') +options=('!emptydirs') +#http://search.cpan.org/CPAN/authors/id/L/LG/LGODDARD/List-Member-0.043.tar.gz +source=(http://search.cpan.org/CPAN/authors/id/L/LG/LGODDARD/${_realname}-${pkgver}.tar.gz) + +build() { + cd ${startdir}/src/${_realname}-${pkgver} + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=${startdir}/pkg || return 1 + + # remove perllocal.pod and .packlist + find ${startdir}/pkg -name perllocal.pod -delete + find ${startdir}/pkg -name .packlist -delete +} diff --git a/abs/core-testing/perl_modules/perl-log-dispatch/PKGBUILD b/abs/core-testing/perl_modules/perl-log-dispatch/PKGBUILD new file mode 100644 index 0000000..db4300b --- /dev/null +++ b/abs/core-testing/perl_modules/perl-log-dispatch/PKGBUILD @@ -0,0 +1,23 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: xduugu + +pkgname=perl-log-dispatch +pkgver=2.21 +pkgrel=1 +pkgdesc="Log messages to multiple outputs" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~DROLSKY/Log-Dispatch" +license=('GPL' 'PerlArtistic') +depends=('perl-params-validate>=0.15') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-$pkgver.tar.gz) +md5sums=('a9aeb68cbf45f99ab63985719f112ee7') + +build() { + cd $startdir/src/Log-Dispatch-$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 +} diff --git a/abs/core-testing/perl_modules/perl-log-log4perl/PKGBUILD b/abs/core-testing/perl_modules/perl-log-log4perl/PKGBUILD new file mode 100644 index 0000000..73d125d --- /dev/null +++ b/abs/core-testing/perl_modules/perl-log-log4perl/PKGBUILD @@ -0,0 +1,23 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette + +pkgname=perl-log-log4perl +pkgver=1.18 +pkgrel=1 +pkgdesc="Log4j implementation in Perl" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~MSCHILLI/Log-Log4perl" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-$pkgver.tar.gz) +md5sums=('9513b615f516827a26bdbcc0d868634f') + +build() { + cd $startdir/src/Log-Log4perl-$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 +} diff --git a/abs/core-testing/perl_modules/perl-params-validate/PKGBUILD b/abs/core-testing/perl_modules/perl-params-validate/PKGBUILD new file mode 100644 index 0000000..f65387f --- /dev/null +++ b/abs/core-testing/perl_modules/perl-params-validate/PKGBUILD @@ -0,0 +1,23 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette + +pkgname=perl-params-validate +pkgver=0.91 +pkgrel=1 +pkgdesc="Validate sub params against a spec" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~DROLSKY/Params-Validate" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-$pkgver.tar.gz) +md5sums=('22c5467a1d4673374a1b7b2dbcfd473e') + +build() { + cd $startdir/src/Params-Validate-$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 +} -- cgit v0.12