# ChangeLog for x11-misc/slock
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.1 2007/01/10 20:29:54 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.2 2007/01/13 15:23:45 cedk Exp $
+
+*slock-0.4 (13 Jan 2007)
+
+ 13 Jan 2007; Cedric Krier <cedk@gentoo.org> +slock-0.4.ebuild:
+ Version bump
*slock-0.3 (10 Jan 2007)
DIST slock-0.3.tar.gz 3393 RMD160 d23ae5d25298ffb3a14f7c18c6965fe084f94936 SHA1 e0197bfcff1301af1ed6c8f3882bb1363a116dd0 SHA256 053ca41160c8a2ace9d389da94439250907ebceac3855f15386ca510026dce9a
+DIST slock-0.4.tar.gz 3415 RMD160 63431c9d4b46de059ea458cad69a95fd5474ca86 SHA1 cacf3a05c786e915b3d85e95cc56ae0c638d2e62 SHA256 6394f3ed895d157c7c47849156cf2a3a6ce0745cfbc9001d903f37101e11c622
EBUILD slock-0.3.ebuild 898 RMD160 06a546c6084799bd2bb9ebaa25f29a162c3f8ce0 SHA1 7ed0925f3c016dbd8183c2d896c5ed802562dd27 SHA256 8d874eca00a1fa97d2823db5c3ca3d59ba0ae32be48e50966cce63dc0774f1f8
MD5 97f75366cd612a6574030fb256c77fc4 slock-0.3.ebuild 898
RMD160 06a546c6084799bd2bb9ebaa25f29a162c3f8ce0 slock-0.3.ebuild 898
SHA256 8d874eca00a1fa97d2823db5c3ca3d59ba0ae32be48e50966cce63dc0774f1f8 slock-0.3.ebuild 898
-MISC ChangeLog 337 RMD160 e196a055c4deb97372176324510984d62798a708 SHA1 eb59ba4b7def722254f2bd18f213736d782e6ff2 SHA256 3badfe3419d62f7f2f51ad93ec870e90f03ac749d6787752e1ffdba6ff640ad6
-MD5 427b17c6bd207a5490b52e4260810d6d ChangeLog 337
-RMD160 e196a055c4deb97372176324510984d62798a708 ChangeLog 337
-SHA256 3badfe3419d62f7f2f51ad93ec870e90f03ac749d6787752e1ffdba6ff640ad6 ChangeLog 337
+EBUILD slock-0.4.ebuild 898 RMD160 697474d7f8146f6b49e84a52d0c3d5fd398da071 SHA1 d3366084dbefdbe4c725eceb9c87bf6e68dad15e SHA256 d09d3dea4e2e11e5220ce1d585c0d657ae1ac97e42017d475551e34ddb1f9f55
+MD5 1087c019c0586974ed1890f2d680489c slock-0.4.ebuild 898
+RMD160 697474d7f8146f6b49e84a52d0c3d5fd398da071 slock-0.4.ebuild 898
+SHA256 d09d3dea4e2e11e5220ce1d585c0d657ae1ac97e42017d475551e34ddb1f9f55 slock-0.4.ebuild 898
+MISC ChangeLog 444 RMD160 546ff1bc3789d23cef012ed49b1240c436d50c28 SHA1 c2034a51458cd6c7a6ea9ae95faf41f5ae629840 SHA256 fb124db93a7a963f982c704db63434f5f4963eaf0edf5a26829ef69933c4d747
+MD5 5f90626db6d8e10781d38e9a9344fb67 ChangeLog 444
+RMD160 546ff1bc3789d23cef012ed49b1240c436d50c28 ChangeLog 444
+SHA256 fb124db93a7a963f982c704db63434f5f4963eaf0edf5a26829ef69933c4d747 ChangeLog 444
MISC metadata.xml 278 RMD160 604c7138fd6db616b7056e97996008743f8f20a8 SHA1 7d4584fba38ac9da699c9ea463364994296f3f87 SHA256 603bd1ce121bb674d164a67831fd266b9b98b3014bf2cb078a1cbae082dc1a00
MD5 5cb1ae92034151698f4ca9c214b7bde5 metadata.xml 278
RMD160 604c7138fd6db616b7056e97996008743f8f20a8 metadata.xml 278
MD5 f3061d67f4330c91388f505942609504 files/digest-slock-0.3 223
RMD160 b831518315a9450d6d0d3f7a536b48994cf325c8 files/digest-slock-0.3 223
SHA256 76e31d12f0458291664da1bc994a4cc3fb92094e9b989fc85f7f1c878bf4c2f9 files/digest-slock-0.3 223
+MD5 691ca21d6ae8560a0fb45f3661be0d08 files/digest-slock-0.4 223
+RMD160 5264977af67b00177d888b8842aa1e8dc89ddce2 files/digest-slock-0.4 223
+SHA256 4866f48dec1bc81a676a3c0b6a5dcabdf9bc84eba22d84faec270476d660e7fb files/digest-slock-0.4 223
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-0.4.ebuild,v 1.1 2007/01/13 15:23:45 cedk Exp $
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="simple X screen locker"
+HOMEPAGE="http://tools.suckless.org/view/x+tools"
+SRC_URI="http://suckless.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/.*strip.*//" \
+ Makefile || die "sed failed"
+
+ sed -i \
+ -e "s/CFLAGS = -Os/CFLAGS +=/" \
+ -e "s/LDFLAGS =/LDFLAGS +=/" \
+ config.mk || die "sed failed"
+}
+
+src_compile() {
+ append-ldflags "-Wl,-z,now"
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+
+ dodoc README
+}