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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Sep 30 10:10:33 2010 UTC (8 years, 11 months ago) by dagger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Updated dependency on libnl. Thanks phorsyon@gmx.net for reporting.

(Portage version: 2.1.9.12/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.61.ebuild,v 1.1 2010/09/14 09:55:29 dagger Exp $
4
5 EAPI="2"
6
7 inherit multilib eutils
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 ~x86"
16 IUSE="bluetooth +caps debug +dhclient dnsproxy doc examples +ethernet google ofono policykit threads tools +udev +wifi wimax"
17 # gps meego ospm openconnect
18
19 RDEPEND=">=dev-libs/glib-2.16
20 >=sys-apps/dbus-1.2.24
21 bluetooth? ( net-wireless/bluez )
22 caps? ( sys-libs/libcap-ng )
23 dhclient? ( net-misc/dhcp )
24 ofono? ( net-misc/ofono )
25 policykit? ( >=sys-auth/policykit-0.7 )
26 udev? ( >=sys-fs/udev-141 )
27 wifi? ( >=net-wireless/wpa_supplicant-0.7[dbus] )
28 wimax? ( net-wireless/wimax )"
29
30 DEPEND="${RDEPEND}
31 doc? ( dev-util/gtk-doc )"
32
33 #src_prepare() {
34 # epatch "${FILESDIR}/${P}-fix-iptables-test.patch"
35 #}
36
37 src_configure() {
38 econf \
39 --localstatedir=/var \
40 --enable-client \
41 --enable-fake \
42 --enable-datafiles \
43 --enable-loopback=builtin \
44 $(use_enable caps capng) \
45 $(use_enable examples test) \
46 $(use_enable ethernet ethernet builtin) \
47 $(use_enable wifi wifi builtin) \
48 $(use_enable bluetooth bluetooth builtin) \
49 $(use_enable ofono ofono builtin) \
50 $(use_enable dhclient dhclient builtin) \
51 $(use_enable dnsproxy dnsproxy builtin) \
52 $(use_enable google google builtin) \
53 $(use_enable policykit polkit builtin) \
54 $(use_enable wimax iwmx builtin) \
55 $(use_enable debug) \
56 $(use_enable doc gtk-doc) \
57 $(use_enable threads) \
58 $(use_enable tools) \
59 $(use_enable udev) \
60 --disable-iospm \
61 --disable-hh2serial-gps \
62 --disable-portal \
63 --disable-meego \
64 --disable-openconnect
65 }
66
67 src_install() {
68 emake DESTDIR="${D}" install || die "emake install failed"
69 dobin client/cm || die "client installation failed"
70
71 keepdir /var/"$(get_libdir)"/${PN} || die
72 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
73 newconfd "${FILESDIR}"/${PN}.confd ${PN} || die
74 }

  ViewVC Help
Powered by ViewVC 1.1.20