blob: d46b7a4a59c87508c2530b263002a5b474017ba3 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit flag-o-matic
DESCRIPTION="RADIUS over TLS (RadSec) support"
SRC_URI="https://software.uninett.no/radsecproxy/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
RDEPEND="dev-libs/openssl:0="
DEPEND="${RDEPEND}"
IUSE="openssl ssl"
src_prepare() {
sed -i -e 's:-pedantic::g' configure || die
}
src_configure() {
append-cppflags "-D_GNU_SOURCE"
econf "--with-ssl=${EROOT}usr"
}