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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 21 15:09:58 2011 UTC (8 years, 10 months ago) by dagger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Added version 0.39

(Portage version: 2.1.9.34/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.31.ebuild,v 1.1 2010/10/04 14:21:11 dagger 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.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~arm ~amd64 ~x86"
16 IUSE="+atmodem bluetooth +caps examples +isimodem threads +udev"
17
18 RDEPEND=">=sys-apps/dbus-1.2.24
19 bluetooth? ( >=net-wireless/bluez-4.61 )
20 caps? ( sys-libs/libcap-ng )
21 >=dev-libs/glib-2.16
22 udev? ( >=sys-fs/udev-143 )
23 examples? ( dev-python/dbus-python )"
24
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 --enable-test \
36 --localstatedir=/var
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install || die "emake install failed"
41
42 if ! use examples ; then
43 rm -rf ${D}/usr/"$(get_libdir)"/ofono/test
44 fi
45
46 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
47 dodoc ChangeLog AUTHORS doc/*.txt
48 }

  ViewVC Help
Powered by ViewVC 1.1.20