summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/modemmanager/modemmanager-0.2-r1.ebuild')
-rw-r--r--net-misc/modemmanager/modemmanager-0.2-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/modemmanager/modemmanager-0.2-r1.ebuild b/net-misc/modemmanager/modemmanager-0.2-r1.ebuild
new file mode 100644
index 0000000..727ba04
--- /dev/null
+++ b/net-misc/modemmanager/modemmanager-0.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+# ModemManager likes itself with capital letters
+MY_P=${P/modemmanager/ModemManager}
+
+DESCRIPTION="Modem and mobile broadband management for NetworkManager-0.7."
+HOMEPAGE="http://mail.gnome.org/archives/networkmanager-list/2008-July/msg00274.html"
+SRC_URI="http://people.freedesktop.org/~tambet/ModemManager-0.2.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-util/pkgconfig
+ dev-util/intltool
+ net-dialup/ppp
+ >=net-misc/networkmanager-0.7.0-r2"
+
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-close-serial-on-HUP.patch
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}