annotate net-misc/ike/ike-2.2.1.ebuild @ 370:f4ed803dfb89

add a stable PyQt ebuild that is aware of python 3.4
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 24 Nov 2014 10:57:24 +0100
parents 40430d2a0b27
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
348
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2010 Gentoo Foundation
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: $
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 EAPI=2
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 CMAKE_IN_SOURCE_BUILD="1"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 inherit cmake-utils linux-info versionator
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 MY_PV=$(replace_version_separator 3 '-' ${PV/rc})
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 MY_P=${PN}-${PV}-release
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 DESCRIPTION="Shrew soft VPN Client"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 HOMEPAGE="http://www.shrew.net/"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 SRC_URI="http://www.shrew.net/download/${PN}/${MY_P}.tbz2"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 LICENSE="shrew"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 SLOT="0"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 KEYWORDS="~amd64 ~x86"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 IUSE="ldap nat qt4"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 COMMON_DEPEND="dev-libs/libedit
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 dev-libs/openssl
350
40430d2a0b27 fix the qtcore dependeny name, add the iked init script
Dirk Olmes <dirk.olmes@exentra.de>
parents: 348
diff changeset
24 qt4? ( dev-qt/qtcore )
348
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 ldap? ( net-nds/openldap )"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 DEPEND="${COMMON_DEPEND}
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 dev-util/cmake
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 >=sys-devel/bison-2.3
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 sys-devel/flex"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 RDEPEND="${COMMON_DEPEND}"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 DOCS="CONTRIB.TXT README.TXT TODO.TXT"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 CONFIG_CHECK="INET_XFRM_MODE_TRANSPORT INET_XFRM_MODE_TUNNEL"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 S="${WORKDIR}/${PN}"
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 src_configure(){
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 mycmakeargs+=( $(cmake-utils_use ldap LDAP)
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 $(cmake-utils_use nat NATT)
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 $(cmake-utils_use qt4 QTGUI)
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 "-DMANDIR=/usr/share/man")
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 cmake-utils_src_configure
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 }
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 src_install(){
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 cmake-utils_src_install
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 doinitd ${FILESDIR}/iked || die
3f5268b98b82 add ebuild for the shrewsoft VPN client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 }