summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-02-11 15:26:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-02-11 15:26:36 +0000
commitb6458d6160af5042bd73c0c16b7ae643c263c85b (patch)
tree9bd676866bfedc988e878616883efc03d25c6dc0 /x11-misc/slock
parentVersion bump (diff)
downloadgentoo-2-b6458d6160af5042bd73c0c16b7ae643c263c85b.tar.gz
gentoo-2-b6458d6160af5042bd73c0c16b7ae643c263c85b.tar.bz2
gentoo-2-b6458d6160af5042bd73c0c16b7ae643c263c85b.zip
Version bump.
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/ChangeLog7
-rw-r--r--x11-misc/slock/slock-1.0.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
index 9ddb85130e73..6b4c50a97791 100644
--- a/x11-misc/slock/ChangeLog
+++ b/x11-misc/slock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/slock
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.30 2012/02/02 17:04:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.31 2012/02/11 15:26:36 ssuominen Exp $
+
+*slock-1.0 (11 Feb 2012)
+
+ 11 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> +slock-1.0.ebuild:
+ Version bump.
02 Feb 2012; Jeroen Roovers <jer@gentoo.org> slock-0.9.ebuild,
slock-0.9-r1.ebuild:
diff --git a/x11-misc/slock/slock-1.0.ebuild b/x11-misc/slock/slock-1.0.ebuild
new file mode 100644
index 000000000000..44dee9b55afb
--- /dev/null
+++ b/x11-misc/slock/slock-1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-1.0.ebuild,v 1.1 2012/02/11 15:26:36 ssuominen Exp $
+
+EAPI=4
+inherit toolchain-funcs
+
+DESCRIPTION="simple X screen locker"
+HOMEPAGE="http://tools.suckless.org/slock"
+SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_prepare() {
+ sed -i \
+ -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
+ -e '/^CC/d' \
+ -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
+ config.mk || die
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+}