Magellan Linux

Contents of /smage/branches/alx07x-stable/core/xlockmore/xlockmore-5.46-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8831 - (show annotations) (download)
Mon Feb 29 10:15:18 2016 UTC (8 years, 2 months ago) by niro
File size: 1568 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="xlockmore"
4 PVER="5.46"
5 PBUILD="r3"
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.6
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.6
19 >= sys-libs/libstdc++-5.3"
20
21 SDEPEND=">= x11-libs/libX11-dev-1.6
22 >= x11-libs/libXext-dev-1.3
23 >= x11-libs/libXmu-dev-1.1
24 >= x11-libs/libXpm-dev-3.5
25 >= x11-libs/libXt-dev-1.1
26 >= x11-libs/libXinerama-dev-1.1
27 >= media-libs/freetype-dev-2.6
28 >= sys-libs/libstdc++-dev-5.3"
29
30 SRCFILE="${PNAME}-${PVER}.tar.xz"
31 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
32
33 ALX_PKG_KEEP="usr/bin/xlock etc/X11/app-defaults/XLock"
34 sminclude mbuild alx-split
35
36 SRC_URI=(
37 http://www.tux.org/~bagleyd/xlock/${SRCFILE}
38 mirror://${PNAME}/${SRCFILE}
39 )
40
41 UP2DATE="updatecmd http://www.tux.org/~bagleyd/xlock/ | grep ${PNAME}- | highesttarball xz"
42
43 src_compile()
44 {
45 cd ${SRCDIR}
46
47 mconfigure \
48 --sharedstatedir=${BINDIR}/usr/share/xlockmore \
49 --enable-vtlock \
50 --with-ftgl \
51 --with-opengl \
52 --with-gltt \
53 --with-mesa \
54 --disable-pam \
55 --with-ttf \
56 --with-xinerama \
57 --without-editres \
58 --without-gtk \
59 --without-gtk2 \
60 --without-magick \
61 --without-motif \
62 --without-esound \
63 --without-nas \
64 || die
65
66 mmake || die
67 }
68
69 alx_generic_src_install()
70 {
71 cd ${SRCDIR}
72
73 minstall xapploaddir=${BINDIR}/etc/X11/app-defaults \
74 mandir=${BINDIR}/usr/share/man/man1 \
75 || die
76 }
77
78 preinstall()
79 {
80 add_conf_prot_mask /etc/X11/app-defaults
81 }