Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14254 - (show annotations) (download)
Tue Dec 4 13:28:35 2012 UTC (11 years, 6 months ago) by niro
File size: 1548 byte(s)
auto added: ver bump to 0.9.6.4-r1
1 # $Id$
2
3 PNAME="network-manager-applet"
4 PVER="0.9.6.4"
5 PBUILD="r1"
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 --localstatedir=/var \
42 --disable-more-warnings \
43 --disable-static \
44 --with-bluetooth \
45 || die
46
47 mmake || die
48 }
49
50 src_install()
51 {
52 cd ${SRCDIR}
53 gn2_src_install || die
54
55 # create polkit local authority file to allow users in plugdev group manage network
56 minstalldir /var/lib/polkit-1/localauthority/10-vendor.d || die
57 MCONFIG="/var/lib/polkit-1/localauthority/10-vendor.d/01-org.freedesktop.network-manager-applet.pkla"
58 mclearconfig || die
59 maddconfig '[nm-applet]' || die
60 maddconfig 'Identity=unix-group:plugdev' || die
61 maddconfig 'Action=org.freedesktop.NetworkManager.*' || die
62 maddconfig 'ResultAny=yes' || die
63 maddconfig 'ResultInactive=no' || die
64 maddconfig 'ResultActive=yes' || die
65 }