Magellan Linux

Contents of /trunk/todo/gnomesu/gnomesu-0.3.1-r10.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2339 - (show annotations) (download)
Thu Jul 9 19:40:15 2009 UTC (14 years, 10 months ago) by niro
File size: 1314 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/gnomesu/gnomesu-0.3.1-r10.smage2,v 1.1 2008/03/28 09:41:59 niro Exp $
2
3 PNAME="gnomesu"
4 PVER="0.3.1"
5 PBUILD="r10"
6
7 PCATEGORIE="app-admin"
8 STATE="unstable"
9
10 DESCRIPTION="Gnome SuperUser is a gtk frontend to su and as such an easy way to run a program as root in the Gnome environment."
11 HOMEPAGE="http://xsu.sourceforge.net/"
12
13 DEPEND=">= dev-libs/glib2-2.16
14 >= x11-libs/gtk2+-2.12
15 >= gnome-base/libgnome-2.22
16 >= gnome-base/libgnomeui-2.22
17 >= x11-libs/libzvt-2.0.1"
18
19 SDEPEND=">= dev-util/pkgconfig-0.23"
20
21 sminclude gnome2
22
23 SRCFILE="${PNAME}-${PVER}.tar.gz"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 SRC_URI=(
27 sourceforge://xsu/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${PNAME}-${PVER}-desktopfix.patch
30 )
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # fixes xsu.desktop; it starts per default gsu instead of gnomesu
38 mpatch ${PNAME}-${PVER}-desktopfix.patch || die
39
40 # force libtool search pathes to $(mlibdir)
41 # to fix linking issues on multilib systems
42 if [[ $(mlibdir) != lib ]]
43 then
44 sed -i "s:/usr/lib:/usr/$(mlibdir):g" ltconfig || die
45 libtoolize --copy --force || die
46 aclocal || die
47 fi
48 }
49
50 src_install()
51 {
52 cd ${SRCDIR}
53
54 local GN2_MAKE_OPTS
55 GN2_MAKE_OPTS="xsudocdir=${BINDIR}/usr/share/doc/${PNAME}-${PVER}"
56
57 gn2_src_install || die
58 }

Properties

Name Value
svn:keywords Id