aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.30.bb
blob: a9ee856a3e620201a378d788fb3859a95224486d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
SUMMARY = "Authen::Radius - provide simple Radius client facilities"
DESCRIPTION = "The Authen::Radius module provides a simple class that \
    allows you to send/receive Radius requests/responses to/from a \
    Radius server. \
"

HOMEPAGE = "https://metacpan.org/release/Authen-Radius"
SECTION = "libs"

LICENSE = "Artistic-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=78ab6ea0cba1f1ec1680ebb149e3bc11"

SRC_URI = "${CPAN_MIRROR}/authors/id/P/PO/PORTAONE/Authen-Radius-${PV}.tar.gz \
           file://run-ptest \
"
SRC_URI[md5sum] = "1e9e6e0730472d254f79283ad3bc58ce"
SRC_URI[sha256sum] = "799ecd0f877c73326649ab5d2b6846227874d2883d4bf858f34e638b6d05b8fe"

S = "${WORKDIR}/Authen-Radius-${PV}"

inherit cpan ptest-perl

do_install_ptest() {
    cp -r ${B}/raddb ${D}${PTEST_PATH}
    chown -R root:root ${D}${PTEST_PATH}
}

RDEPENDS_${PN} += "\
    libdata-hexdump-perl \
    libnet-ip-perl \
    perl-module-constant \
    perl-module-data-dumper \
    perl-module-digest-md5 \
    perl-module-exporter \
    perl-module-filehandle \
    perl-module-io-select \
    perl-module-io-socket \
    perl-module-time-hires \
    perl-module-vars \
    perl-module-warnings \
"
RDEPENDS_${PN}-ptest += " \
    freeradius \
    libtest-nowarnings-perl \
    perl-module-config \
    perl-module-file-spec \
    perl-module-test-more \
"

BBCLASSEXTEND = "native"