/[gentoo-x86]/net-misc/connman/connman-1.0.ebuild
Gentoo

Contents of /net-misc/connman/connman-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu May 10 23:20:28 2012 UTC (7 years, 4 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Can not allow an experimental dependency to interfere with security stabling. As per arch testing by Elijah "Armageddon" El Lazkani in bug #415415.

(Portage version: 2.1.10.58/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/connman/connman-1.0.ebuild,v 1.1 2012/05/10 08:43:18 chainsaw Exp $
4
5 EAPI="4"
6
7 inherit systemd
8
9 DESCRIPTION="Provides a daemon for managing internet connections"
10 HOMEPAGE="http://connman.net"
11 SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
16 IUSE="bluetooth debug doc examples +ethernet ofono openvpn policykit threads tools vpnc +wifi wimax"
17
18 RDEPEND=">=dev-libs/glib-2.16
19 >=sys-apps/dbus-1.2.24
20 >=dev-libs/libnl-1.1
21 >=net-firewall/iptables-1.4.8
22 net-libs/gnutls
23 bluetooth? ( net-wireless/bluez )
24 ofono? ( net-misc/ofono )
25 policykit? ( sys-auth/polkit )
26 openvpn? ( net-misc/openvpn )
27 vpnc? ( net-misc/vpnc )
28 wifi? ( >=net-wireless/wpa_supplicant-0.7[dbus] )
29 wimax? ( net-wireless/wimax )"
30
31 DEPEND="${RDEPEND}
32 >=sys-kernel/linux-headers-2.6.39
33 doc? ( dev-util/gtk-doc )"
34
35 src_configure() {
36 econf \
37 --localstatedir=/var \
38 --enable-client \
39 --enable-datafiles \
40 --enable-loopback=builtin \
41 $(use_enable examples test) \
42 $(use_enable ethernet ethernet builtin) \
43 $(use_enable wifi wifi builtin) \
44 $(use_enable bluetooth bluetooth builtin) \
45 $(use_enable ofono ofono builtin) \
46 $(use_enable openvpn openvpn builtin) \
47 $(use_enable policykit polkit builtin) \
48 $(use_enable vpnc vpnc builtin) \
49 $(use_enable wimax iwmx builtin) \
50 $(use_enable debug) \
51 $(use_enable doc gtk-doc) \
52 $(use_enable threads) \
53 $(use_enable tools) \
54 --disable-iospm \
55 --disable-hh2serial-gps \
56 --disable-openconnect \
57 "$(systemd_with_unitdir systemdunitdir)"
58 }
59
60 src_install() {
61 emake DESTDIR="${D}" install || die "emake install failed"
62 dobin client/cm || die "client installation failed"
63
64 keepdir /var/lib/${PN} || die
65 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
66 newconfd "${FILESDIR}"/${PN}.confd ${PN} || die
67 }

  ViewVC Help
Powered by ViewVC 1.1.20