Contents of /trunk/extras/modemmanager/modemmanager-0.5.2.0-r1.smage2
Parent Directory | Revision Log
Revision 12841 -
(show annotations)
(download)
Wed Jul 4 08:41:22 2012 UTC (12 years, 2 months ago) by niro
File size: 943 byte(s)
Wed Jul 4 08:41:22 2012 UTC (12 years, 2 months ago) by niro
File size: 943 byte(s)
-marked stable
1 | # $Id$ |
2 | |
3 | PNAME="modemmanager" |
4 | PVER="0.5.2.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-misc" |
8 | |
9 | DESCRIPTION="Modem and mobile broadband management libraries." |
10 | HOMEPAGE="http://gitorious.org/modemmanager" |
11 | |
12 | # hardcoded ppp version |
13 | PPP_PVER=2.4.5 |
14 | |
15 | DEPEND=">= sys-apps/dbus-1.4 |
16 | >= dev-libs/glib2-2.28 |
17 | >= dev-libs/dbus-glib-0.92 |
18 | >= sys-fs/udev-171 |
19 | == net-dialup/ppp-${PPP_PVER} |
20 | >= sys-apps/polkit-0.101" |
21 | |
22 | SDEPEND=">= dev-util/pkgconfig-0.25 |
23 | >= dev-util/intltool-0.41" |
24 | |
25 | SRCFILE="ModemManager-${PVER}.tar.xz" |
26 | SRCDIR="${BUILDDIR}/ModemManager-${PVER}" |
27 | |
28 | sminclude gnome2 mtools |
29 | |
30 | SRC_URI=( |
31 | gnome://ModemManager/${PVER%.*.*}/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | ) |
34 | |
35 | UP2DATE="updatecmd_gnome ModemManager" |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | mconfigure \ |
42 | --disable-more-warnings \ |
43 | --with-udev-base-dir=/usr/lib/udev/ \ |
44 | --with-pppd-plugin-dir=/usr/$(mlibdir)/pppd/${PPP_PVER} \ |
45 | --with-polkit=yes \ |
46 | --without-docs \ |
47 | --without-tests \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |