blob: 125f2fd59589b7b5c6d1538adf138b83f716fc0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/modemmanager-0.3.ebuild,v 1.2 2010/03/10 08:58:25 josejx Exp $
EAPI="2"
inherit gnome.org eutils
# ModemManager likes itself with capital letters
MY_PN="${PN/modemmanager/ModemManager}"
DESCRIPTION="Modem and mobile broadband management libraries"
HOMEPAGE="http://mail.gnome.org/archives/networkmanager-list/2008-July/msg00274.html"
SRC_URI="${SRC_URI//${PN}/${MY_PN}}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-libs/glib-2.18
>=dev-libs/dbus-glib-0.75
net-dialup/ppp"
DEPEND=">=sys-fs/udev-145[extras]
dev-util/pkgconfig"
S="${WORKDIR}/${MY_PN}-${PV}"
src_configure() {
econf \
--disable-more-warnings \
--with-udev-base-dir=/etc/udev/ \
$(use_with doc docs) \
$(use_with test tests)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README
}
|