Magellan Linux

Contents of /branches/magellan-next/extras/modemmanager/modemmanager-0.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8965 - (show annotations) (download)
Fri Aug 26 18:25:57 2011 UTC (12 years, 8 months ago) by niro
File size: 940 byte(s)
auto added: ver bump to 0.5-r1
1 # $Id$
2
3 PNAME="modemmanager"
4 PVER="0.5"
5 PBUILD="r1"
6
7 PCATEGORIE="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.bz2"
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=/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 }