Contents of /smage/trunk/core/xautolock/xautolock-2.2-r8.smage2
Parent Directory | Revision Log
Revision 10492 -
(show annotations)
(download)
Wed Aug 23 09:12:42 2017 UTC (7 years, 1 month ago) by niro
File size: 1142 byte(s)
Wed Aug 23 09:12:42 2017 UTC (7 years, 1 month ago) by niro
File size: 1142 byte(s)
auto added: ver bump to 2.2-r8
1 | # $Id$ |
2 | |
3 | PNAME="xautolock" |
4 | PVER="2.2" |
5 | PBUILD="r8" |
6 | |
7 | PCAT="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-misc/imake-1 |
16 | >= x11-libs/libXScrnSaver-dev-1.2" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tgz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | ALX_PKG_KEEP="usr/bin/xautolock" |
22 | sminclude mbuild mtools alx-split |
23 | |
24 | SRC_URI=( |
25 | #http://www.ibiblio.org/pub/Linux/X11/screensavers/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-${PVER}-do-not-use-union-wait-type.patch |
28 | ) |
29 | |
30 | UP2DATE="updatecmd http://www.ibiblio.org/pub/Linux/X11/screensavers/ | grep ${PNAME}- | highesttarball tgz" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | # fix ftbfs with newer gcc |
38 | mpatch ${PNAME}-${PVER}-do-not-use-union-wait-type.patch || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | xmkmf || die |
46 | mmake || die |
47 | } |
48 | |
49 | alx_generic_src_install() |
50 | { |
51 | cd ${SRCDIR} |
52 | minstallexec xautolock || die |
53 | cp xautolock.man xautolock.1 || die |
54 | minstallman xautolock.1 || die |
55 | minstalldocs Changelog License Readme Todo || die |
56 | } |