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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri May 11 07:17:46 2012 UTC (2 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.1.10.49/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-0.78.ebuild,v 1.7 2012/04/18 17:52:28 ago Exp $
4
5 EAPI="2"
6
7 inherit eutils 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 +caps debug doc examples +ethernet google ofono ntpd openvpn policykit threads tools vpnc +wifi wimax"
17 # gps meego ospm openconnect
18
19 RDEPEND=">=dev-libs/glib-2.16
20 >=sys-apps/dbus-1.2.24
21 >=dev-libs/libnl-1.1
22 >=net-firewall/iptables-1.4.8
23 net-libs/gnutls
24 bluetooth? ( net-wireless/bluez )
25 caps? ( sys-libs/libcap-ng )
26 ntpd? ( net-misc/ntp )
27 ofono? ( net-misc/ofono )
28 policykit? ( sys-auth/polkit )
29 openvpn? ( net-misc/openvpn )
30 vpnc? ( net-misc/vpnc )
31 wifi? ( >=net-wireless/wpa_supplicant-0.7[dbus] )
32 wimax? ( net-wireless/wimax )"
33
34 DEPEND="${RDEPEND}
35 >=sys-kernel/linux-headers-2.6.39
36 doc? ( dev-util/gtk-doc )"
37
38 src_configure() {
39 econf \
40 --localstatedir=/var \
41 --enable-client \
42 --enable-fake \
43 --enable-datafiles \
44 --enable-loopback=builtin \
45 $(use_enable caps capng) \
46 $(use_enable examples test) \
47 $(use_enable ethernet ethernet builtin) \
48 $(use_enable wifi wifi builtin) \
49 $(use_enable bluetooth bluetooth builtin) \
50 $(use_enable ntpd ntpd builtin) \
51 $(use_enable ofono ofono builtin) \
52 $(use_enable google google builtin) \
53 $(use_enable openvpn openvpn builtin) \
54 $(use_enable policykit polkit builtin) \
55 $(use_enable vpnc vpnc builtin) \
56 $(use_enable wimax iwmx builtin) \
57 $(use_enable debug) \
58 $(use_enable doc gtk-doc) \
59 $(use_enable threads) \
60 $(use_enable tools) \
61 --disable-iospm \
62 --disable-hh2serial-gps \
63 --disable-meego \
64 --disable-openconnect \
65 "$(systemd_with_unitdir systemdunitdir)"
66 }
67
68 src_install() {
69 emake DESTDIR="${D}" install || die "emake install failed"
70 dobin client/cm || die "client installation failed"
71
72 keepdir /var/lib/${PN} || die
73 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
74 newconfd "${FILESDIR}"/${PN}.confd ${PN} || die
75 }

  ViewVC Help
Powered by ViewVC 1.1.20