Magellan Linux

Contents of /branches/magellan-next/extras/network-manager-applet/network-manager-applet-0.9.2.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9579 - (show annotations) (download)
Tue Dec 13 14:23:16 2011 UTC (12 years, 6 months ago) by niro
File size: 1463 byte(s)
-fixed dependencies
1 # $Id$
2
3 PNAME="network-manager-applet"
4 PVER="0.9.2.0"
5 PBUILD="r2"
6
7 PCATEGORIE="net-misc"
8
9 DESCRIPTION="NetworkManager applet for Gnome and Gtk2+"
10 HOMEPAGE="http://projects.gnome.org/NetworkManager/"
11
12 DEPEND=">= net-misc/networkmanager-0.9.2
13 >= net-misc/mobile-broadband-provider-info-2011
14 >= dev-libs/glib2-2.28
15 >= sys-apps/dbus-1.5
16 >= dev-libs/dbus-glib-0.98
17 >= x11-libs/gtk2+-2.24
18 >= x11-libs/libnotify-0.7
19 >= gnome-base/gconf-2.32
20 >= gnome-base/libgnome-keyring-2.32
21 >= sys-apps/polkit-0.101
22 >= app-text/iso-codes-3.3
23 >= net-wlan/gnome-bluetooth-2.32"
24
25 SDEPEND=">= dev-util/pkgconfig-0.25
26 >= dev-util/intltool-0.41"
27
28 sminclude gnome2 mtools
29
30 UP2DATE="updatecmd_gnome network-manager-applet"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 gn2_configure \
37 --localstatedir=/var \
38 --disable-more-warnings \
39 --disable-static \
40 --with-bluetooth \
41 || die
42
43 mmake || die
44 }
45
46 src_install()
47 {
48 cd ${SRCDIR}
49 gn2_src_install || die
50
51 # create polkit local authority file to allow users in plugdev group manage network
52 minstalldir /var/lib/polkit-1/localauthority/10-vendor.d || die
53 MCONFIG="/var/lib/polkit-1/localauthority/10-vendor.d/01-org.freedesktop.network-manager-applet.pkla"
54 mclearconfig || die
55 maddconfig '[nm-applet]' || die
56 maddconfig 'Identity=unix-group:network' || die
57 maddconfig 'Action=org.freedesktop.NetworkManager.*' || die
58 maddconfig 'ResultAny=yes' || die
59 maddconfig 'ResultInactive=no' || die
60 maddconfig 'ResultActive=yes' || die
61 }