Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/xlockmore/xlockmore-5.46-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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