Contents of /smage/trunk/core/xlockmore/xlockmore-5.34-r1.smage2
Parent Directory | Revision Log
Revision 3145 -
(show annotations)
(download)
Fri Sep 9 10:37:19 2011 UTC (12 years, 9 months ago) by niro
File size: 1290 byte(s)
Fri Sep 9 10:37:19 2011 UTC (12 years, 9 months ago) by niro
File size: 1290 byte(s)
auto added: ver bump to 5.34-r1
1 | # $Id$ |
2 | |
3 | PNAME="xlockmore" |
4 | PVER="5.34" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-misc" |
8 | |
9 | DESCRIPTION="A screensaver for X11." |
10 | HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html" |
11 | |
12 | DEPEND=">= x11-libs/libX11-1.4 |
13 | >= x11-libs/libXext-1.3 |
14 | >= x11-libs/libXpm-3.5 |
15 | >= x11-libs/libXt-1.1 |
16 | >= x11-libs/libXmu-1.1 |
17 | >= x11-libs/libXinerama-1.2 |
18 | >= virtual/opengl |
19 | >= media-libs/freetype-2.4" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | ALX_ONLY_KEEP="usr/bin/xlock etc/X11/app-defaults/XLock" |
25 | sminclude mbuild alx-split |
26 | |
27 | SRC_URI=( |
28 | http://www.tux.org/~bagleyd/xlock/${PNAME}-${PVER}/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | ) |
31 | |
32 | UP2DATE="updatecmd http://www.tux.org/~bagleyd/xlock/ | grep ${PNAME}- | grep -v old | sed -n 's:.*${PNAME}-\(.*\):\1:;$ p'" |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | mconfigure \ |
39 | --sharedstatedir=${BINDIR}/usr/share/xlockmore \ |
40 | --enable-vtlock \ |
41 | --with-ftgl \ |
42 | --with-opengl \ |
43 | --with-gltt \ |
44 | --with-mesa \ |
45 | --disable-pam \ |
46 | --with-ttf \ |
47 | --without-gtk \ |
48 | --without-motif \ |
49 | --without-esound \ |
50 | --without-nas \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |
55 | |
56 | alx_generic_src_install() |
57 | { |
58 | cd ${SRCDIR} |
59 | |
60 | minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \ |
61 | mandir=${BINDIR}/usr/share/man/man1 \ |
62 | || die |
63 | } |
64 | |
65 | preinstall() |
66 | { |
67 | add_conf_prot_mask /etc/X11/app-defaults |
68 | } |