diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 10:50:10 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 10:50:10 +0000 |
commit | 4f7014bb0686ac24ca030455c1d1c681d959973a (patch) | |
tree | c7384fb010edd182baa801b4a706471a04b56716 /community/perl-radiusperl | |
parent | 35d315e3df615338961409581bc7f712587307c1 (diff) | |
download | aports-4f7014bb0686ac24ca030455c1d1c681d959973a.tar.bz2 aports-4f7014bb0686ac24ca030455c1d1c681d959973a.tar.xz |
community/perl-radiusperl: moved from testing
Diffstat (limited to 'community/perl-radiusperl')
-rw-r--r-- | community/perl-radiusperl/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/perl-radiusperl/APKBUILD b/community/perl-radiusperl/APKBUILD new file mode 100644 index 0000000000..a036e9648e --- /dev/null +++ b/community/perl-radiusperl/APKBUILD @@ -0,0 +1,38 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-radiusperl +_pkgreal=Authen-Radius +pkgver=0.23 +pkgrel=0 +pkgdesc="Perl module for RadiusPerl" +url="http://search.cpan.org/dist/RadiusPerl/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-data-hexdump perl-digest-perl-md5 perl-data-dumper" +depends="$cpandepends" +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/$_pkgreal-$pkgver" + +build() { + cd "$_builddir" + mkdir -p ${pkgdir}/etc/raddb + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + sed -i "s:/etc/raddb:$pkgdir/etc/raddb:" install-radius-db.PL + make +} + +package() { + cd "$_builddir" + mkdir -p ${pkgdir}/etc/raddb + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="556c5bea85f67ab83ec247a74c65e27e Authen-Radius-0.23.tar.gz" +sha256sums="43c0f3a5bee279156de78b7fbd99f22401994ae82e1adeda09c88b5c53dd50c3 Authen-Radius-0.23.tar.gz" +sha512sums="110dde66ebb23cea256c093e139deb51eb755c051deaf1e221be20b9a7d689b234d2033d911c30f4212f47848751793c7c33393841270e230334f8528c68f61a Authen-Radius-0.23.tar.gz" |