1 # Contributor: Anonymous
2 # Generator : CPANPLUS::Dist::Arch 1.12
4 pkgname='perl-net-radius-server'
7 pkgdesc="Framework for RADIUS Servers"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-authen-pam' 'perl-berkeleydb' 'perl-class-accessor>=0.27' 'perl-file-find-rule' 'perl-io-async' 'perl-io-prompt' 'perl-mldbm-sync' 'perl-net-radius' 'perl-net-server>=0.94' 'perl-netaddr-ip>=4' 'perl-perl-ldap' 'perl-statistics-descriptive' 'perl-time-stopwatch' 'perl-yaml-syck')
12 makedepends=('perl-test-file-contents')
13 url='http://search.cpan.org/dist/Net-Radius-Server'
14 source=('http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Net-Radius-Server-1.116.tar.gz' 'net-radius-server-fix-constant-export.patch')
15 md5sums=('df88a7819d902f455494f59756fea3ec'
16 'a2be97b34dd571ebfc05e807c2ab757b')
17 _distdir="${srcdir}/Net-Radius-Server-1.116"
20 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21 PERL_AUTOINSTALL=--skipdeps \
22 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24 MODULEBUILDRC=/dev/null
27 patch -p1 < ${srcdir}/net-radius-server-fix-constant-export.patch
28 /usr/bin/perl Makefile.PL
35 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
43 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
50 # vim:set ts=2 sw=2 et: