Annotation of /trunk/extras/polkit-qt/polkit-qt-0.95.1-r1.smage2
Parent Directory | Revision Log
Revision 4839 -
(hide annotations)
(download)
Fri Feb 12 10:57:13 2010 UTC (14 years, 7 months ago) by niro
File size: 1578 byte(s)
Fri Feb 12 10:57:13 2010 UTC (14 years, 7 months ago) by niro
File size: 1578 byte(s)
auto added: ver bump to 0.95.1-r1
1 | niro | 4838 | # $$ |
2 | |||
3 | PNAME="polkit-qt" | ||
4 | PVER="0.95.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="PolicyKit Qt4 API wrapper library." | ||
11 | HOMEPAGE="http://kde.org/" | ||
12 | |||
13 | DEPEND=">= sys-apps/polkit-qt-0.95 | ||
14 | >= x11-libs/qt4-core-4.6 | ||
15 | >= x11-libs/qt-gui-4.6" | ||
16 | |||
17 | SDEPEND=">= kde-base/automoc4-0.9.88" | ||
18 | |||
19 | SRCFILE="${PNAME}-1-${PVER}.tar.bz2" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-1-${PVER}" | ||
21 | |||
22 | sminclude cmake | ||
23 | |||
24 | SRC_URI=( | ||
25 | niro | 4839 | kde://${PNAME}-1/${SRCFILE} |
26 | niro | 4838 | mirror://${PNAME}/${SRCFILE} |
27 | ) | ||
28 | |||
29 | UP2DATE="updatecmd http://ftp.gwdg.de/pub/x11/kde/stable/${PNAME}-1/ | lasttarball" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | mconfigure \ | ||
36 | --libexecdir=/usr/$(mlibdir)/PolicyKit \ | ||
37 | --localstatedir=/var \ | ||
38 | --with-polkit-user=polkit \ | ||
39 | --with-authfw=pam \ | ||
40 | --with-pam-module-dir=/$(mlibdir)/security \ | ||
41 | --disable-dependency-tracking \ | ||
42 | --disable-introspection \ | ||
43 | --disable-ansi \ | ||
44 | --enable-fast-install \ | ||
45 | --enable-libtool-lock \ | ||
46 | --enable-man-pages \ | ||
47 | --disable-verbose \ | ||
48 | --disable-gtk-doc \ | ||
49 | --enable-nls \ | ||
50 | || die | ||
51 | |||
52 | mmake || die | ||
53 | } | ||
54 | |||
55 | src_install() | ||
56 | { | ||
57 | cd ${SRCDIR} | ||
58 | mmake DESTDIR=${BINDIR} install || die | ||
59 | |||
60 | # needed directories and permissions | ||
61 | mkeepdir /var/run/polkit-1 || die | ||
62 | mkeepdir /var/lib/polkit-1 || die | ||
63 | mchown root:polkit /var/run/polkit-1 || die | ||
64 | mchown root:polkit /var/lib/polkit-1 || die | ||
65 | mchmod 0700 /var/run/polkit-1 || die | ||
66 | mchmod 0700 /var/lib/polkit-1 || die | ||
67 | |||
68 | # docs | ||
69 | minstalldocs AUTHORS COPYING ChangeLog HACKING NEWS README || die | ||
70 | } | ||
71 | |||
72 | preinstall() | ||
73 | { | ||
74 | # adds pokit user | ||
75 | ${MLIBDIR}/mgroupadd -o "-g 26" polkit | ||
76 | ${MLIBDIR}/museradd -o "-u 26 -g polkit -d /dev/null -s /bin/false" polkit | ||
77 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |