Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2506 - (show annotations) (download)
Thu Jun 30 13:55:15 2011 UTC (12 years, 11 months ago) by niro
Original Path: smage/branches/alx-0_6_0/core/xautolock/xautolock-2.2-r2.smage2
File size: 712 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 # $Id$
2
3 PNAME="xautolock"
4 PVER="2.2"
5 PBUILD="r2"
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=">= virtual/x11
13 >= x11-misc/xlockmore-5"
14
15 SRCFILE="${PNAME}-${PVER}.tgz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 REMOVE_DEPRECATED_MAGE_TARGETS=1
19 sminclude mbuild mtools alx
20
21 SRC_URI=(
22 http://www.ibiblio.org/pub/Linux/X11/screensavers/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd 'http://www.ibiblio.org/pub/Linux/X11/screensavers/?C=M;O=A' | grep ${PNAME}- | lasttarball tgz"
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31
32 xmkmf || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 cd ${SRCDIR}
39 minstallexec xautolock || die
40 }