Magellan Linux

Contents of /smage/trunk/core/xlockmore/xlockmore-5.40-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3905 - (show annotations) (download)
Mon Jul 23 14:54:17 2012 UTC (11 years, 10 months ago) by niro
File size: 1346 byte(s)
auto added: ver bump to 5.40-r1
1 # $Id$
2
3 PNAME="xlockmore"
4 PVER="5.40"
5 PBUILD="r1"
6
7 PCAT="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/libXmu-1.1
15 >= x11-libs/libXpm-3.5
16 >= x11-libs/libXt-1.1
17 >= x11-libs/libXinerama-1.1
18 >= media-libs/freetype-2.4"
19
20 SRCFILE="${PNAME}-${PVER}.tar.bz2"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 ALX_PKG_KEEP="usr/bin/xlock etc/X11/app-defaults/XLock"
24 sminclude mbuild alx-split
25
26 SRC_URI=(
27 http://www.tux.org/~bagleyd/xlock/${PNAME}-${PVER}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd http://www.tux.org/~bagleyd/xlock/ | grep ${PNAME}- | grep -v old | sed -n 's:.*${PNAME}-\(.*\):\1:;$ p'"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 mconfigure \
38 --sharedstatedir=${BINDIR}/usr/share/xlockmore \
39 --enable-vtlock \
40 --with-ftgl \
41 --with-opengl \
42 --with-gltt \
43 --with-mesa \
44 --disable-pam \
45 --with-ttf \
46 --with-xinerama \
47 --without-editres \
48 --without-gtk \
49 --without-gtk2 \
50 --without-magick \
51 --without-motif \
52 --without-esound \
53 --without-nas \
54 || die
55
56 mmake || die
57 }
58
59 alx_generic_src_install()
60 {
61 cd ${SRCDIR}
62
63 minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \
64 mandir=${BINDIR}/usr/share/man/man1 \
65 || die
66 }
67
68 preinstall()
69 {
70 add_conf_prot_mask /etc/X11/app-defaults
71 }