summaryrefslogtreecommitdiff
path: root/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild
blob: 8b0aa5696092f8b02310adb93a9ffd7b9942e36e (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

inherit autotools-utils

DESCRIPTION="FreeRADIUS Client framework"
HOMEPAGE="http://wiki.freeradius.org/Radiusclient"
SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="scp shadow static-libs"

DEPEND="!net-dialup/radiusclient
	!net-dialup/radiusclient-ng"
RDEPEND="${DEPEND}"

DOCS=( BUGS doc/ChangeLog doc/login.example doc/release-method.txt )

src_configure() {
	local myeconfargs=(
		$(use_enable scp)
		$(use_enable shadow)
		--with-secure-path
	)
	autotools-utils_src_configure
}

src_install() {
	autotools-utils_src_install
	dodoc README*
	newdoc doc/README README.login.example
	dohtml doc/instop.html
}