Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 581976
Collapse All | Expand All

(-)file_not_specified_in_diff (-12 / +18 lines)
Line  Link Here
0
-- kea-1.0.0.ebuild    2016-01-09 06:25:31.000000000 +0100
0
++ kea-1.0.0.ebuild    2016-05-05 19:18:35.895894498 +0200
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
3
# $Id$
4
EAPI="5"
4
EAPI="6"
5
inherit eutils toolchain-funcs user
5
inherit eutils toolchain-funcs user
Lines 16-48 Link Here
16
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
16
SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz
17
       ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz"
17
       ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz"
18
LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
18
LICENSE="MPL-2.0"
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="~amd64"
20
KEYWORDS="~amd64"
21
IUSE=""
21
IUSE="mysql openssl samples test"
22
DEPEND="
22
DEPEND="
23
       dev-cpp/gtest
23
       test? ( dev-cpp/gtest )
24
       dev-libs/boost
24
       dev-libs/boost
25
       dev-libs/botan
26
       dev-libs/log4cplus
25
       dev-libs/log4cplus
26
       mysql? ( dev-perl/DBD-mysql )
27
       !openssl? ( dev-libs/botan )
28
       openssl? ( dev-libs/openssl )
27
"
29
"
28
RDEPEND="${DEPEND}"
30
RDEPEND="${DEPEND}"
29
S="${WORKDIR}/${MY_P}"
31
S="${WORKDIR}/${MY_P}"
30
src_prepare() {
32
src_prepare() {
31
       # Brand the version with Gentoo
33
       default
32
       sed -i \
33
               -e "/VERSION=/s:'$: Gentoo-${PR}':" \
34
               configure || die
35
}
34
}
36
src_configure() {
35
src_configure() {
36
       local myconf
37
       if use test ; then
38
               myconf="${myconf} --with-gtest"
39
       fi
37
       econf \
40
       econf \
38
               --disable-install-configurations \
39
               --disable-static \
41
               --disable-static \
40
               --without-werror
42
               --without-werror \
43
               $(use_enable samples install-configurations) \
44
               $(use_with mysql dhcp-mysql) \
45
               $(use_with openssl) \
46
               ${myconf}
41
}
47
}
42
src_install() {
48
src_install() {

Return to bug 581976