blob: 5921f6549769d3efcabba3a697c8666da8392cae (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=PORTAONE
DIST_VERSION=0.27
DIST_EXAMPLES=("contrib/*")
inherit perl-module
DESCRIPTION="Communicate with a Radius server from Perl"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=virtual/perl-Data-Dumper-1.0.0
>=dev-perl/Data-HexDump-0.20.0
>=virtual/perl-Digest-MD5-2.200.0
>=virtual/perl-IO-1.120.0
>=dev-perl/Net-IP-1.260.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.640.0
test? (
dev-perl/Test-NoWarnings
virtual/perl-Test-Simple
)
"
PATCHES=(
"${FILESDIR}"/${PN}-0.26-cisco-dictionary.patch
"${FILESDIR}"/${PN}-0.26-no-install-db.patch
)
src_configure() {
export OPTIMIZE="$CFLAGS"
perl-module_src_configure
}
src_install() {
perl-module_src_install
# Really want to install these radius dictionaries?
insinto /etc/raddb
doins raddb/dictionary*
}
|