diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-01-02 09:27:38 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-01-02 09:27:38 +0000 |
commit | 30e7c8dec95f94259dc416cd113b52c3571f779d (patch) | |
tree | 232a137b84b69d912daf1f793e417776ee62035c /testing/perl-radiusperl | |
parent | 330a49e1c7a5b4cf3014a546d92594280f0626c2 (diff) | |
download | aports-30e7c8dec95f94259dc416cd113b52c3571f779d.tar.bz2 aports-30e7c8dec95f94259dc416cd113b52c3571f779d.tar.xz |
testing/perl-radiusperl: new apkbuild
Diffstat (limited to 'testing/perl-radiusperl')
-rw-r--r-- | testing/perl-radiusperl/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/perl-radiusperl/APKBUILD b/testing/perl-radiusperl/APKBUILD index 5c7d9a150c..f9f11c987c 100644 --- a/testing/perl-radiusperl/APKBUILD +++ b/testing/perl-radiusperl/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=perl-radiusperl _pkgreal=RadiusPerl -_modulename=Authen-Radius +_pkgalt=Authen-Radius pkgver=0.20 pkgrel=0 pkgdesc="Perl module for RadiusPerl" @@ -13,26 +13,26 @@ license="GPL PerlArtistic" cpandepends="" cpanmakedepends="perl-data-hexdump" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev freeradius-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MA/MANOWAR/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_modulename-$pkgver" + +_builddir="$srcdir/$_pkgalt-$pkgver" + prepare() { cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi } + build() { cd "$_builddir" - # I don't make test because this packages need a radius server installed make } + package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } + md5sums="acd0f83204117e47bacc0105868266b1 RadiusPerl-0.20.tar.gz" |