aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-snmp-info
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-03 07:54:57 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-03 07:54:57 -0300
commit7e1339a15142796141ef684fa5d9c3694bac7c2f (patch)
tree9b03a81b4251f8a2c42fd9e6d22fbe896d3b519b /testing/perl-snmp-info
parentcd54ae422d36477a88816ae62cfa5e1cb04e5d6a (diff)
downloadaports-7e1339a15142796141ef684fa5d9c3694bac7c2f.tar.bz2
aports-7e1339a15142796141ef684fa5d9c3694bac7c2f.tar.xz
testing/perl-snmp-info: fix url fix license
Diffstat (limited to 'testing/perl-snmp-info')
-rw-r--r--testing/perl-snmp-info/APKBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/testing/perl-snmp-info/APKBUILD b/testing/perl-snmp-info/APKBUILD
index 13a00611bd..ea2a31d478 100644
--- a/testing/perl-snmp-info/APKBUILD
+++ b/testing/perl-snmp-info/APKBUILD
@@ -4,17 +4,14 @@
pkgname=perl-snmp-info
_pkgreal=SNMP-Info
pkgver=3.38
-pkgrel=0
+pkgrel=1
pkgdesc="OO Interface to Network devices and MIBs through SNMP"
-url="http://search.cpan.org/dist/SNMP-Info/"
+url="https://metacpan.org/release/SNMP-Info"
arch="noarch"
-license="BSD"
+license="BSD-3-Clause"
cpandepends="net-snmp-perl"
-cpanmakedepends=""
-cpancheckdepends=""
depends="$cpandepends"
-makedepends="perl-dev perl-module-build $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
@@ -22,25 +19,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
./Build test
}