summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
blob: ea5bb1b0c9ed3f5798733ebb13dbabd7fca10ba2 (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
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 = "http://search.cpan.org/~manowar/RadiusPerl"
SECTION = "libs"

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

DEPENDS = "perl"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MANOWAR/RadiusPerl-${PV}.tar.gz \
           file://test.pl-adjust-for-ptest.patch \
           file://run-ptest \
"
SRC_URI[md5sum] = "d1fe2d6ecf7ea99299e4e3a8f945aad8"
SRC_URI[sha256sum] = "3b276506986ccaa4949d92b13ce053a0017ad11562a991cc753364923fe81ca7"

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

inherit cpan ptest

do_install_ptest() {
    install -m 0755 ${S}/test.pl ${D}${PTEST_PATH}
}

RDEPENDS_${PN} += "\
    libdata-hexdump-perl \
    perl-module-digest-md5 \
    perl-module-data-dumper \
    perl-module-io-select \
    perl-module-io-socket \
"
RDEPENDS_${PN}-ptest += "${PN} freeradius"

BBCLASSEXTEND = "native"