Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/slock: ChangeLog slock-0.9.ebuild
Date: Wed, 30 Jul 2008 18:40:43
Message-Id: E1KOGbI-0005DJ-T7@stork.gentoo.org
1 cedk 08/07/30 18:40:40
2
3 Modified: ChangeLog
4 Added: slock-0.9.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.21 x11-misc/slock/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slock/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slock/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slock/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 22 Jul 2008 17:44:15 -0000 1.20
23 +++ ChangeLog 30 Jul 2008 18:40:40 -0000 1.21
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-misc/slock
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.20 2008/07/22 17:44:15 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.21 2008/07/30 18:40:40 cedk Exp $
29 +
30 +*slock-0.9 (30 Jul 2008)
31 +
32 + 30 Jul 2008; Cédric Krier <cedk@g.o> +slock-0.9.ebuild:
33 + Version bump
34
35 22 Jul 2008; Torsten Veller <tove@g.o> slock-0.8.ebuild:
36 Stable on x86 (#232479)
37
38
39
40 1.1 x11-misc/slock/slock-0.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slock/slock-0.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slock/slock-0.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: slock-0.9.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-0.9.ebuild,v 1.1 2008/07/30 18:40:40 cedk Exp $
50
51 inherit toolchain-funcs flag-o-matic
52
53 DESCRIPTION="simple X screen locker"
54 HOMEPAGE="http://www.suckless.org/programs/slock.html"
55 SRC_URI="http://code.suckless.org/dl/tools/${P}.tar.gz"
56
57 LICENSE="MIT"
58 SLOT="0"
59 KEYWORDS="~amd64 ~hppa ~x86"
60 IUSE=""
61
62 DEPEND="x11-libs/libX11"
63 RDEPEND=${DEPEND}
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68
69 sed -i \
70 -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall -g/" \
71 -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
72 config.mk || die "sed failed"
73 }
74
75 src_compile() {
76 append-ldflags "-Wl,-z,now"
77 emake CC=$(tc-getCC) || die "emake failed"
78 }
79
80 src_install() {
81 emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
82
83 dodoc README
84 }