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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 11 17:15:52 2010 UTC (9 years, 7 months ago) by dagger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New version of Connman. Fixes issues with wifi, bluetooth and adds static IP settings
(Portage version: 2.1.7.17/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2009 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.46.ebuild,v 1.1 2009/11/03 16:13:46 dagger Exp $
4
5 EAPI="2"
6
7 DESCRIPTION="Provides a daemon for managing internet connections"
8 HOMEPAGE="http://connman.net"
9 SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~arm ~amd64 ~x86"
14 IUSE="3G bluetooth debug +dhclient dnsproxy doc +ethernet modemmanager ofono policykit ppp resolvconf threads tools +udev +wifi"
15 # ospm wimax
16
17 RDEPEND=">=dev-libs/glib-2.16
18 >=sys-apps/dbus-1.2
19 bluetooth? ( net-wireless/bluez )
20 dhclient? ( net-misc/dhcp )
21 modemmanager? ( net-misc/modemmanager )
22 ofono? ( net-misc/ofono )
23 policykit? ( >=sys-auth/policykit-0.7 )
24 ppp? ( net-dialup/ppp )
25 resolvconf? ( net-dns/openresolv )
26 udev? ( >=sys-fs/udev-141 )
27 wifi? ( net-wireless/wpa_supplicant[dbus] )"
28
29 DEPEND="${RDEPEND}
30 doc? ( dev-util/gtk-doc )"
31
32 src_configure() {
33 econf \
34 --localstatedir=/var \
35 --enable-loopback \
36 --enable-client \
37 --enable-fake \
38 --enable-datafiles \
39 $(use_enable 3G novatel) \
40 $(use_enable 3G huawei) \
41 $(use_enable 3G hso) \
42 $(use_enable 3G mbm) \
43 $(use_enable bluetooth) \
44 $(use_enable debug) \
45 $(use_enable dhclient) \
46 $(use_enable dnsproxy) \
47 $(use_enable doc gtk-doc) \
48 $(use_enable ethernet) \
49 $(use_enable modemmanager modemmgr) \
50 $(use_enable ofono) \
51 $(use_enable policykit polkit) \
52 $(use_enable ppp) \
53 $(use_enable resolvconf) \
54 $(use_enable threads) \
55 $(use_enable tools) \
56 $(use_enable udev) \
57 $(use_enable wifi) \
58 --disable-udhcp \
59 --disable-iwmx \
60 --disable-iospm
61 }
62
63 src_install() {
64 emake DESTDIR="${D}" install || die "emake install failed"
65 dobin client/cm || die "client installation failed"
66
67 keepdir /var/lib/${PN} || die
68 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
69
70 }

  ViewVC Help
Powered by ViewVC 1.1.20