summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ofono/ofono-0.11.ebuild')
-rw-r--r--net-misc/ofono/ofono-0.11.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/ofono/ofono-0.11.ebuild b/net-misc/ofono/ofono-0.11.ebuild
new file mode 100644
index 000000000000..166a4f68e7b6
--- /dev/null
+++ b/net-misc/ofono/ofono-0.11.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ofono-0.11.ebuild,v 1.1 2009/11/24 11:36:39 dagger Exp $
+
+EAPI="2"
+
+DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon."
+HOMEPAGE="http://ofono.org/"
+SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~amd64 ~x86"
+IUSE="threads +udev"
+
+RDEPEND=">=sys-apps/dbus-1.2
+ >=dev-libs/glib-2.16
+ udev? ( >=sys-fs/udev-141 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable threads) \
+ $(use_enable udev) \
+ --localstatedir="${ROOT}"/var
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
+}