summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-03-06 22:55:12 +0000
committerCédric Krier <cedk@gentoo.org>2007-03-06 22:55:12 +0000
commitae1277e0a77f5844b6821e3baecfd06a0ecba7f0 (patch)
tree48deb8f178f639987bb8bface6ec01f9b414e6f5
parentx11-misc/dmenu: Version bump (diff)
downloadgentoo-2-ae1277e0a77f5844b6821e3baecfd06a0ecba7f0.tar.gz
gentoo-2-ae1277e0a77f5844b6821e3baecfd06a0ecba7f0.tar.bz2
gentoo-2-ae1277e0a77f5844b6821e3baecfd06a0ecba7f0.zip
x11-misc/slock: Version bump
(Portage version: 2.1.2-r9)
-rw-r--r--x11-misc/slock/ChangeLog7
-rw-r--r--x11-misc/slock/files/digest-slock-0.53
-rw-r--r--x11-misc/slock/slock-0.5.ebuild42
3 files changed, 51 insertions, 1 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
index 79e353520171..19ccf6e7dcb0 100644
--- a/x11-misc/slock/ChangeLog
+++ b/x11-misc/slock/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2007/01/28 17:46:55 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.4 2007/03/06 22:55:12 cedk Exp $
+
+*slock-0.5 (06 Mar 2007)
+
+ 06 Mar 2007; Cedric Krier <cedk@gentoo.org> +slock-0.5.ebuild:
+ Version bump
28 Jan 2007; Cedric Krier <cedk@gentoo.org> -slock-0.3.ebuild,
slock-0.4.ebuild:
diff --git a/x11-misc/slock/files/digest-slock-0.5 b/x11-misc/slock/files/digest-slock-0.5
new file mode 100644
index 000000000000..79918eb1a6a8
--- /dev/null
+++ b/x11-misc/slock/files/digest-slock-0.5
@@ -0,0 +1,3 @@
+MD5 f4297e143e95f4567924a67d1c79d3d8 slock-0.5.tar.gz 3451
+RMD160 901db21a287315a0641b26ed93053acba473a055 slock-0.5.tar.gz 3451
+SHA256 2a57efaf39c8ac61cdfd07b3187ba1d984ebefcc1a1633f4479e06e89ca7a01f slock-0.5.tar.gz 3451
diff --git a/x11-misc/slock/slock-0.5.ebuild b/x11-misc/slock/slock-0.5.ebuild
new file mode 100644
index 000000000000..1b9d603a0ffd
--- /dev/null
+++ b/x11-misc/slock/slock-0.5.ebuild
@@ -0,0 +1,42 @@
+# 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.5.ebuild,v 1.1 2007/03/06 22:55:12 cedk Exp $
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="simple X screen locker"
+HOMEPAGE="http://tools.suckless.org/view.sh/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
+}