summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-03-16 12:16:14 +0000
committerCédric Krier <cedk@gentoo.org>2008-03-16 12:16:14 +0000
commitb886d2b63ea114bf72318be7dbb233cbc0834123 (patch)
tree25a4872ab1e2b90ae53151e5bc0c49f343e13969 /x11-misc/slock
parentVersion bump (diff)
downloadgentoo-2-b886d2b63ea114bf72318be7dbb233cbc0834123.tar.gz
gentoo-2-b886d2b63ea114bf72318be7dbb233cbc0834123.tar.bz2
gentoo-2-b886d2b63ea114bf72318be7dbb233cbc0834123.zip
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/ChangeLog7
-rw-r--r--x11-misc/slock/slock-0.8.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
index 859a91960a4b..660ea934f7c5 100644
--- a/x11-misc/slock/ChangeLog
+++ b/x11-misc/slock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/slock
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.13 2008/02/08 15:55:38 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.14 2008/03/16 12:16:14 cedk Exp $
+
+*slock-0.8 (16 Mar 2008)
+
+ 16 Mar 2008; Cédric Krier <cedk@gentoo.org> +slock-0.8.ebuild:
+ Version bump
08 Feb 2008; Jeroen Roovers <jer@gentoo.org> slock-0.7.ebuild:
Stable for HPPA (bug #209350).
diff --git a/x11-misc/slock/slock-0.8.ebuild b/x11-misc/slock/slock-0.8.ebuild
new file mode 100644
index 000000000000..51785b43b375
--- /dev/null
+++ b/x11-misc/slock/slock-0.8.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-0.8.ebuild,v 1.1 2008/03/16 12:16:14 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="~amd64 ~hppa ~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
+}