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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 23 09:52:09 2014 UTC (5 years ago) by dlan
Branch: MAIN
CVS Tags: HEAD
version bump, drop old, bug 522302, thanks Jose Romildo Malaquias

(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)

1 # Copyright 1999-2014 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.24.ebuild,v 1.1 2014/08/05 10:38:01 chainsaw Exp $
4
5 EAPI="5"
6 inherit base systemd
7
8 DESCRIPTION="Provides a daemon for managing internet connections"
9 HOMEPAGE="http://connman.net"
10 SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
15 IUSE="bluetooth debug doc examples +ethernet ofono openvpn openconnect policykit tools vpnc +wifi"
16
17 RDEPEND=">=dev-libs/glib-2.16
18 >=sys-apps/dbus-1.2.24
19 >=net-firewall/iptables-1.4.8
20 net-libs/gnutls
21 bluetooth? ( net-wireless/bluez )
22 ofono? ( net-misc/ofono )
23 policykit? ( sys-auth/polkit )
24 openvpn? ( net-misc/openvpn )
25 vpnc? ( net-misc/vpnc )
26 wifi? ( >=net-wireless/wpa_supplicant-2.0[dbus] )"
27
28 DEPEND="${RDEPEND}
29 >=sys-kernel/linux-headers-2.6.39"
30
31 PATCHES=( "${FILESDIR}/${PN}-1.16-execinfo-assumptions.patch" )
32
33 src_configure() {
34 econf \
35 --localstatedir=/var \
36 --enable-client \
37 --enable-datafiles \
38 --enable-loopback=builtin \
39 $(use_enable examples test) \
40 $(use_enable ethernet ethernet builtin) \
41 $(use_enable wifi wifi builtin) \
42 $(use_enable bluetooth bluetooth builtin) \
43 $(use_enable ofono ofono builtin) \
44 $(use_enable openconnect openconnect builtin) \
45 $(use_enable openvpn openvpn builtin) \
46 $(use_enable policykit polkit builtin) \
47 $(use_enable vpnc vpnc builtin) \
48 $(use_enable debug) \
49 $(use_enable tools) \
50 --disable-iospm \
51 --disable-hh2serial-gps
52 }
53
54 src_install() {
55 emake DESTDIR="${D}" install
56 dobin client/connmanctl || die "client installation failed"
57
58 if use doc; then
59 dodoc doc/*.txt
60 fi
61 keepdir /var/lib/${PN}
62 newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
63 newconfd "${FILESDIR}"/${PN}.confd ${PN}
64 systemd_dounit "${FILESDIR}"/connman.service
65 }

  ViewVC Help
Powered by ViewVC 1.1.20