/[gentoo-x86]/net-misc/ofono/ofono-1.14.ebuild
Gentoo

Contents of /net-misc/ofono/ofono-1.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Aug 10 20:45:44 2014 UTC (5 years, 4 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

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/ofono/ofono-1.14.ebuild,v 1.4 2014/03/08 13:18:55 maekke Exp $
4
5 EAPI=5
6
7 inherit eutils multilib systemd
8
9 DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon"
10 HOMEPAGE="http://ofono.org/"
11 SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 arm x86"
16 IUSE="+atmodem bluetooth +cdmamodem +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem threads tools +udev"
17
18 REQUIRED_USE="dundee? ( bluetooth )"
19
20 RDEPEND=">=sys-apps/dbus-1.4
21 >=dev-libs/glib-2.28
22 net-misc/mobile-broadband-provider-info
23 bluetooth? ( >=net-wireless/bluez-4.99 )
24 udev? ( virtual/udev )
25 examples? ( dev-python/dbus-python )
26 tools? ( virtual/libusb:1 )"
27 DEPEND="${RDEPEND}
28 virtual/pkgconfig"
29
30 DOCS=( ChangeLog AUTHORS )
31
32 src_configure() {
33 econf \
34 $(use_enable threads) \
35 $(use_enable udev) \
36 $(use_enable isimodem) \
37 $(use_enable atmodem) \
38 $(use_enable cdmamodem) \
39 $(use_enable datafiles) \
40 $(use_enable dundee) \
41 $(use_enable bluetooth) \
42 $(use_enable phonesim) \
43 $(use_enable provision) \
44 $(use_enable qmimodem) \
45 $(use_enable tools) \
46 $(use_enable examples test) \
47 --disable-maintainer-mode \
48 --localstatedir=/var \
49 --with-systemdunitdir="$(systemd_get_unitdir)"
50 }
51
52 src_install() {
53 default
54
55 if use tools ; then
56 dobin tools/auto-enable \
57 tools/huawei-audio \
58 tools/lookup-provider-name \
59 tools/lookup-apn \
60 tools/get-location \
61 tools/qmi \
62 tools/tty-redirector
63 fi
64
65 newinitd "${FILESDIR}"/${PN}.initd ${PN}
66 use doc && dodoc doc/*.txt
67 }

  ViewVC Help
Powered by ViewVC 1.1.20