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

Contents of /net-misc/connman/connman-0.64-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 22 13:55:32 2011 UTC (8 years, 7 months ago) by dagger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Add version 0.70

(Portage version: 2.1.9.40/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.64-r1.ebuild,v 1.1 2011/01/06 15:27:42 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 dnsproxy doc examples +ethernet google ofono openvpn policykit threads tools +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 >=sys-kernel/linux-headers-2.6.30
24 bluetooth? ( net-wireless/bluez )
25 caps? ( sys-libs/libcap-ng )
26 ofono? ( net-misc/ofono )
27 policykit? ( sys-auth/polkit )
28 openvpn? ( net-misc/openvpn )
29 wifi? ( >=net-wireless/wpa_supplicant-0.7[dbus] )
30 wimax? ( net-wireless/wimax )"
31
32 DEPEND="${RDEPEND}
33 doc? ( dev-util/gtk-doc )"
34
35 #src_prepare() {
36 # epatch "${FILESDIR}/${P}-fix-iptables-test.patch"
37 #}
38
39 src_configure() {
40 econf \
41 --localstatedir=/var \
42 --enable-client \
43 --enable-fake \
44 --enable-datafiles \
45 --enable-loopback=builtin \
46 $(use_enable caps capng) \
47 $(use_enable examples test) \
48 $(use_enable ethernet ethernet builtin) \
49 $(use_enable wifi wifi builtin) \
50 $(use_enable bluetooth bluetooth builtin) \
51 $(use_enable ofono ofono builtin) \
52 $(use_enable dnsproxy dnsproxy builtin) \
53 $(use_enable google google builtin) \
54 $(use_enable openvpn openvpn builtin) \
55 $(use_enable policykit polkit 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-portal \
64 --disable-meego \
65 --disable-openconnect
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/"$(get_libdir)"/${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