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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Jun 16 09:48:35 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.50. Use systemd eclass.

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 dagger 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 dagger 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ofono-0.44.ebuild,v 1.1 2011/03/02 09:40:04 dagger Exp $
4 dagger 1.1
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