Magellan Linux

Contents of /trunk/extras/network-manager-applet/network-manager-applet-0.9.2.0-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10867 - (show annotations) (download)
Sat Feb 4 12:08:27 2012 UTC (12 years, 7 months ago) by niro
File size: 1484 byte(s)
auto added: ver bump to 0.9.2.0-r3
1 # $Id$
2
3 PNAME="network-manager-applet"
4 PVER="0.9.2.0"
5 PBUILD="r3"
6
7 PCAT="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-libs/libstdc++-4.6
16 >= sys-apps/dbus-1.5
17 >= dev-libs/dbus-glib-0.98
18 >= x11-libs/gtk2+-2.24
19 >= x11-libs/libnotify-0.7
20 >= gnome-base/gconf-2.32
21 >= gnome-base/libgnome-keyring-2.32
22 >= sys-apps/polkit-0.101
23 >= app-text/iso-codes-3.3
24 >= net-wlan/gnome-bluetooth-2.32"
25
26 SDEPEND=">= dev-util/pkgconfig-0.25
27 >= dev-util/intltool-0.41"
28
29 sminclude gnome2 mtools
30
31 UP2DATE="updatecmd_gnome network-manager-applet"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 gn2_configure \
38 --localstatedir=/var \
39 --disable-more-warnings \
40 --disable-static \
41 --with-bluetooth \
42 || die
43
44 mmake || die
45 }
46
47 src_install()
48 {
49 cd ${SRCDIR}
50 gn2_src_install || die
51
52 # create polkit local authority file to allow users in plugdev group manage network
53 minstalldir /var/lib/polkit-1/localauthority/10-vendor.d || die
54 MCONFIG="/var/lib/polkit-1/localauthority/10-vendor.d/01-org.freedesktop.network-manager-applet.pkla"
55 mclearconfig || die
56 maddconfig '[nm-applet]' || die
57 maddconfig 'Identity=unix-group:network' || die
58 maddconfig 'Action=org.freedesktop.NetworkManager.*' || die
59 maddconfig 'ResultAny=yes' || die
60 maddconfig 'ResultInactive=no' || die
61 maddconfig 'ResultActive=yes' || die
62 }