Contents of /smage/branches/alx-0_6_0/core/xlockmore/xlockmore-5.33-r3.smage2
Parent Directory | Revision Log
Revision 4996 -
(show annotations)
(download)
Wed Jun 5 17:33:48 2013 UTC (11 years ago) by niro
File size: 1192 byte(s)
Wed Jun 5 17:33:48 2013 UTC (11 years ago) by niro
File size: 1192 byte(s)
-rebuild against mesa-9.0.3 and added missing glu-9.0.0 dep
1 | # $Id$ |
2 | |
3 | PNAME="xlockmore" |
4 | PVER="5.33" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="x11-misc" |
8 | |
9 | DESCRIPTION="A screensaver for X11." |
10 | HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html" |
11 | |
12 | DEPEND=">= virtual/x11 |
13 | >= media-libs/freetype-2.4 |
14 | >= media-libs/glu-9" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
20 | ALX_ONLY_KEEP="usr/bin/xlock etc/X11/app-defaults/XLock" |
21 | sminclude mbuild alx-split |
22 | |
23 | SRC_URI=( |
24 | http://www.tux.org/~bagleyd/xlock/${PNAME}-${PVER}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd http://www.tux.org/~bagleyd/xlock/ | grep ${PNAME}- | grep -v old | sed -n 's:.*${PNAME}-\(.*\):\1:;$ p'" |
29 | |
30 | src_compile() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | mconfigure \ |
35 | --sharedstatedir=${BINDIR}/usr/share/xlockmore \ |
36 | --enable-vtlock \ |
37 | --with-ftgl \ |
38 | --with-opengl \ |
39 | --with-gltt \ |
40 | --with-mesa \ |
41 | --disable-pam \ |
42 | --with-ttf \ |
43 | --without-gtk \ |
44 | --without-motif \ |
45 | --without-esound \ |
46 | --without-nas \ |
47 | || die |
48 | |
49 | mmake || die |
50 | } |
51 | |
52 | alx_generic_src_install() |
53 | { |
54 | cd ${SRCDIR} |
55 | |
56 | minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \ |
57 | mandir=${BINDIR}/usr/share/man/man1 \ |
58 | || die |
59 | } |
60 | |
61 | preinstall() |
62 | { |
63 | add_conf_prot_mask /etc/X11/app-defaults |
64 | } |