Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16108 - (show annotations) (download)
Thu Jan 24 23:46:55 2013 UTC (11 years, 4 months ago) by niro
File size: 1596 byte(s)
-rebuild
1 # $Id$
2
3 PNAME="network-manager-applet"
4 PVER="0.9.6.4"
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.6
13 >= net-misc/mobile-broadband-provider-info-2011
14 >= dev-libs/glib2-2.34
15 >= sys-libs/libstdc++-4.7
16 >= sys-apps/dbus-1.6
17 >= dev-libs/dbus-glib-0.100
18 >= x11-libs/gtk3+-3.6
19 >= x11-libs/libnotify-0.7
20 >= gnome-base/gconf-3.2
21 >= gnome-base/libgnome-keyring-3.6
22 >= sys-apps/polkit-0.107
23 >= app-text/iso-codes-3.3
24 >= net-wlan/gnome-bluetooth-3.6
25 >= virtual/notification-daemon"
26
27 SDEPEND=">= dev-util/pkgconfig-0.25
28 >= dev-util/intltool-0.50"
29
30 SRCFILE="${PNAME}-${PVER}.tar.xz"
31
32 sminclude gnome2 mtools
33
34 UP2DATE="updatecmd_gnome network-manager-applet"
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 gn2_configure \
41 --libexecdir=/usr/$(mlibdir)/networkmanager \
42 --localstatedir=/var \
43 --disable-more-warnings \
44 --disable-static \
45 --with-bluetooth \
46 || die
47
48 mmake || die
49 }
50
51 src_install()
52 {
53 cd ${SRCDIR}
54 gn2_src_install || die
55
56 # create polkit local authority file to allow users in plugdev group manage network
57 minstalldir /var/lib/polkit-1/localauthority/10-vendor.d || die
58 MCONFIG="/var/lib/polkit-1/localauthority/10-vendor.d/01-org.freedesktop.network-manager-applet.pkla"
59 mclearconfig || die
60 maddconfig '[nm-applet]' || die
61 maddconfig 'Identity=unix-group:plugdev' || die
62 maddconfig 'Action=org.freedesktop.NetworkManager.*' || die
63 maddconfig 'ResultAny=yes' || die
64 maddconfig 'ResultInactive=no' || die
65 maddconfig 'ResultActive=yes' || die
66 }