Magellan Linux

Annotation of /branches/R11-stable/extras/polkit-gnome/polkit-gnome-0.105-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18008 - (hide annotations) (download)
Thu Jun 27 06:43:46 2013 UTC (10 years, 11 months ago) by niro
File size: 880 byte(s)
-release branches/R11-stable
1 niro 17338 # $Id$
2    
3     PNAME="polkit-gnome"
4     PVER="0.105"
5     PBUILD="r4"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="PolicyKit integration for the GNOME desktop."
10     HOMEPAGE="http://www.freedesktop.org/wiki/Software/PolicyKit"
11    
12     sminclude gnome2 xdg
13    
14     DEPEND=">= sys-apps/polkit-0.111"
15    
16     SDEPEND=">= dev-util/pkgconfig-0.25
17     >= dev-util/intltool-0.50
18     >= dev-libs/gobject-introspection-1.36"
19    
20     SRC_URI=( ${SRC_URI[*]}
21     mirror://${PNAME}/polkit-gnome-authentication-agent-1.desktop
22     )
23    
24     UP2DATE="updatecmd_gnome ${PVER}"
25    
26     src_compile()
27     {
28     cd ${SRCDIR}
29    
30     gn2_configure --libexecdir=/usr/$(mlibdir)/polkit-gnome || die
31     mmake || die
32     }
33    
34     src_install()
35     {
36     cd ${SRCDIR}
37     mmake DESTDIR=${BINDIR} install || die
38    
39     minstallxdg \
40     --exec /usr/$(mlibdir)/polkit-gnome/polkit-gnome-authentication-agent-1 \
41     --destination-dir /etc/xdg/autostart \
42     --file ${SOURCEDIR}/${PNAME}/polkit-gnome-authentication-agent-1.desktop || die
43     }