Magellan Linux

Contents of /smage/trunk/core/xautolock/xautolock-2.2-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3146 - (show annotations) (download)
Fri Sep 9 11:08:52 2011 UTC (12 years, 9 months ago) by niro
File size: 758 byte(s)
auto added: ver bump to 2.2-r3
1 # $Id$
2
3 PNAME="xautolock"
4 PVER="2.2"
5 PBUILD="r3"
6
7 PCATEGORIE="x11-misc"
8
9 DESCRIPTION="An automatic X screen-locker/screen-saver."
10 HOMEPAGE="http://freshmeat.net/projects/xautolock/"
11
12 DEPEND=">= x11-libs/libXScrnSaver-1.2
13 >= x11-misc/xlockmore-5"
14
15 SDEPEND=">= x11-proto/scrnsaverproto-1.2
16 >= x11-misc/imake-1"
17
18 SRCFILE="${PNAME}-${PVER}.tgz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild mtools alx
22
23 SRC_URI=(
24 http://www.ibiblio.org/pub/Linux/X11/screensavers/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd 'http://www.ibiblio.org/pub/Linux/X11/screensavers/?C=M;O=A' | grep ${PNAME}- | lasttarball tgz"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 xmkmf || die
35 mmake || die
36 }
37
38 src_install()
39 {
40 cd ${SRCDIR}
41 minstallexec xautolock || die
42 }