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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Feb 22 14:06:17 2011 UTC (8 years, 9 months ago) by dagger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Add version 0.43

(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/ofono/ofono-0.39.ebuild,v 1.2 2011/01/25 13:46:03 dev-zero Exp $
4
5 EAPI="2"
6
7 inherit multilib
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="~arm ~amd64 ~x86"
16 IUSE="+atmodem bluetooth +caps +cdmamodem examples +isimodem +phonesim threads tools +udev"
17
18 RDEPEND=">=sys-apps/dbus-1.2.24
19 >=dev-libs/glib-2.16
20 bluetooth? ( >=net-wireless/bluez-4.61 )
21 caps? ( sys-libs/libcap-ng )
22 udev? ( >=sys-fs/udev-143 )
23 examples? ( dev-python/dbus-python )
24 tools? ( dev-libs/libusb:1 )"
25 DEPEND="${RDEPEND}
26 dev-util/pkgconfig"
27
28 src_configure() {
29 econf \
30 $(use_enable caps capng) \
31 $(use_enable threads) \
32 $(use_enable udev) \
33 $(use_enable isimodem) \
34 $(use_enable atmodem) \
35 $(use_enable cdmamodem) \
36 $(use_enable bluetooth) \
37 $(use_enable phonesim) \
38 $(use_enable tools) \
39 --enable-test \
40 --localstatedir=/var
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die "emake install failed"
45
46 if ! use examples ; then
47 rm -rf "${D}/usr/$(get_libdir)/ofono/test"
48 fi
49
50 if use tools ; then
51 dobin tools/{auto-enable,huawei-audio} || die
52 fi
53
54 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
55 dodoc ChangeLog AUTHORS doc/*.txt
56 }

  ViewVC Help
Powered by ViewVC 1.1.20