comparison net-misc/ike/ike-2.2.1-r1.ebuild @ 387:473b16d70a09

get rid of the warning in the init script
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 27 Mar 2015 07:36:14 +0100
parents net-misc/ike/ike-2.2.1.ebuild@40430d2a0b27
children
comparison
equal deleted inserted replaced
386:9d2a913e5010 387:473b16d70a09
1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=2
6
7 CMAKE_IN_SOURCE_BUILD="1"
8 inherit cmake-utils linux-info versionator
9
10 MY_PV=$(replace_version_separator 3 '-' ${PV/rc})
11 MY_P=${PN}-${PV}-release
12
13 DESCRIPTION="Shrew soft VPN Client"
14 HOMEPAGE="http://www.shrew.net/"
15 SRC_URI="http://www.shrew.net/download/${PN}/${MY_P}.tbz2"
16
17 LICENSE="shrew"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE="ldap nat qt4"
21
22 COMMON_DEPEND="dev-libs/libedit
23 dev-libs/openssl
24 qt4? ( dev-qt/qtcore )
25 ldap? ( net-nds/openldap )"
26 DEPEND="${COMMON_DEPEND}
27 dev-util/cmake
28 >=sys-devel/bison-2.3
29 sys-devel/flex"
30 RDEPEND="${COMMON_DEPEND}"
31
32 DOCS="CONTRIB.TXT README.TXT TODO.TXT"
33
34 CONFIG_CHECK="INET_XFRM_MODE_TRANSPORT INET_XFRM_MODE_TUNNEL"
35
36 S="${WORKDIR}/${PN}"
37
38 src_configure(){
39 mycmakeargs+=( $(cmake-utils_use ldap LDAP)
40 $(cmake-utils_use nat NATT)
41 $(cmake-utils_use qt4 QTGUI)
42 "-DMANDIR=/usr/share/man")
43
44 cmake-utils_src_configure
45 }
46
47 src_install(){
48 cmake-utils_src_install
49 doinitd ${FILESDIR}/iked || die
50 }