Magellan Linux

Contents of /trunk/extras/modemmanager/modemmanager-1.2.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21053 - (show annotations) (download)
Thu Mar 6 15:12:09 2014 UTC (10 years, 3 months ago) by niro
File size: 1081 byte(s)
auto added: ver bump to 1.2.0-r1
1 # $Id$
2
3 PNAME="modemmanager"
4 PVER="1.2.0"
5 PBUILD="r1"
6
7 PCAT="net-misc"
8
9 DESCRIPTION="Modem and mobile broadband management libraries."
10 HOMEPAGE="http://www.freedesktop.org/wiki/Software/ModemManager/"
11
12 # hardcoded ppp version
13 PPP_PVER=2.4.5
14
15 DEPEND=">= sys-apps/dbus-1.8
16 >= dev-libs/glib2-2.38
17 >= dev-libs/dbus-glib-0.102
18 >= sys-fs/udev-210
19 == net-dialup/ppp-${PPP_PVER}
20 >= net-libs/libmbim-1.8
21 >= sys-apps/polkit-0.112"
22
23 SDEPEND=">= dev-util/pkgconfig-0.25
24 >= dev-util/intltool-0.50"
25
26 SRCFILE="ModemManager-${PVER}.tar.xz"
27 SRCDIR="${BUILDDIR}/ModemManager-${PVER}"
28
29 sminclude gnome2 udev
30
31 SRC_URI=(
32 http://www.freedesktop.org/software/ModemManager/${SRCFILE}
33 mirror://${PNAME}/${SRCFILE}
34 )
35
36 UP2DATE="updatecmd http://www.freedesktop.org/software/ModemManager/ | grep 'ModemManager-' | lasttarball xz"
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 mconfigure \
43 --disable-more-warnings \
44 --with-udev-base-dir=$(mget-udev-dir) \
45 --with-pppd-plugin-dir=/usr/$(mlibdir)/pppd/${PPP_PVER} \
46 --with-polkit=permissive \
47 --without-docs \
48 --without-tests \
49 || die
50
51 mmake || die
52 }