Contents of /smage/trunk/core/xlockmore/xlockmore-5.32-r1.smage2
Parent Directory | Revision Log
Revision 1601 -
(show annotations)
(download)
Fri Mar 4 13:03:41 2011 UTC (13 years, 6 months ago) by niro
File size: 1542 byte(s)
Fri Mar 4 13:03:41 2011 UTC (13 years, 6 months ago) by niro
File size: 1542 byte(s)
-suid the binary, needed without pam
1 | # $Id$ |
2 | |
3 | PNAME="xlockmore" |
4 | PVER="5.32" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="A screensaver for X11." |
11 | HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html" |
12 | |
13 | DEPEND=">= x11-libs/libX11-1.4 |
14 | >= x11-libs/libXmu-1.1 |
15 | >= x11-libs/libXext-1.2 |
16 | >= x11-libs/libXt-1 |
17 | >= media-libs/freetype-2.4 |
18 | >= virtual/opengl" |
19 | |
20 | SDEPEND=">= dev-util/pkgconfig-0.25 |
21 | >= x11-proto/xineramaproto-1.2" |
22 | |
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
25 | |
26 | MCORE_ONLY_KEEP="usr/bin/xlock etc/X11/app-defaults/XLock" |
27 | sminclude mbuild mtools mcore-split |
28 | |
29 | SRC_URI=( |
30 | http://www.tux.org/pub/tux/bagleyd/${PNAME}/${PNAME}-${PVER}/${SRCFILE} |
31 | http://www.tux.org/~bagleyd/xlock/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | ) |
34 | |
35 | UP2DATE="updatecmd http://www.tux.org/~bagleyd/xlock/ | grep xlockmore- | grep -v '[ALPHA|BETA]' | grep -v -- -old | sed -n 's:.*xlockmore-\(.*\):\1:;$ p'" |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | mconfigure \ |
42 | --enable-appdefaultdir=/usr/share/X11/app-defaults \ |
43 | --enable-vtlock \ |
44 | --without-ftgl \ |
45 | --without-gltt \ |
46 | --with-opengl \ |
47 | --with-mesa \ |
48 | --disable-pam \ |
49 | --with-ttf \ |
50 | --with-freetype \ |
51 | --without-gtk \ |
52 | --without-gtk2 \ |
53 | --without-motif \ |
54 | --without-esound \ |
55 | --without-nas \ |
56 | --without-edires \ |
57 | --without-xpm \ |
58 | || die |
59 | |
60 | mmake || die |
61 | } |
62 | |
63 | mcore_generic_src_install() |
64 | { |
65 | cd ${SRCDIR} |
66 | |
67 | minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \ |
68 | mandir=${BINDIR}/usr/share/man/man1 \ |
69 | || die |
70 | |
71 | # without pam support, the xlock binary must be suid |
72 | mchmod 4755 /usr/bin/xlock || die |
73 | } |