summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-01-10 20:29:54 +0000
committerCédric Krier <cedk@gentoo.org>2007-01-10 20:29:54 +0000
commit32aed040193328d5151e645842db5bcb6ed8e6b9 (patch)
tree8dbc8d228557dfba6bd2af8973bffe0b993ff889 /x11-misc
parentStable on amd64 wrt bug #159145 (diff)
downloadgentoo-2-32aed040193328d5151e645842db5bcb6ed8e6b9.tar.gz
gentoo-2-32aed040193328d5151e645842db5bcb6ed8e6b9.tar.bz2
gentoo-2-32aed040193328d5151e645842db5bcb6ed8e6b9.zip
New ebuild for bug #151039
(Portage version: 2.1.1-r2)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/slock/ChangeLog10
-rw-r--r--x11-misc/slock/Manifest16
-rw-r--r--x11-misc/slock/files/digest-slock-0.33
-rw-r--r--x11-misc/slock/metadata.xml9
-rw-r--r--x11-misc/slock/slock-0.3.ebuild42
5 files changed, 80 insertions, 0 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
new file mode 100644
index 000000000000..c6597607ac4a
--- /dev/null
+++ b/x11-misc/slock/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*slock-0.3 (10 Jan 2007)
+
+ 10 Jan 2007; Cedric Krier <cedk@gentoo.org> +metadata.xml,
+ +slock-0.3.ebuild:
+ New ebuild for bug #151039
+
diff --git a/x11-misc/slock/Manifest b/x11-misc/slock/Manifest
new file mode 100644
index 000000000000..7629e6efba35
--- /dev/null
+++ b/x11-misc/slock/Manifest
@@ -0,0 +1,16 @@
+DIST slock-0.3.tar.gz 3393 RMD160 d23ae5d25298ffb3a14f7c18c6965fe084f94936 SHA1 e0197bfcff1301af1ed6c8f3882bb1363a116dd0 SHA256 053ca41160c8a2ace9d389da94439250907ebceac3855f15386ca510026dce9a
+EBUILD slock-0.3.ebuild 807 RMD160 1808a6a67db5604b4f75c87f27578bdb506727d0 SHA1 dd9561bffb645c95a14521eca7cee0facefb24b9 SHA256 23f865faba5d8dbbbe898646d2002cebdce7992c3cced99872b95791619d47a4
+MD5 fe9f365afd5c9dc8ce33e7c63a99260b slock-0.3.ebuild 807
+RMD160 1808a6a67db5604b4f75c87f27578bdb506727d0 slock-0.3.ebuild 807
+SHA256 23f865faba5d8dbbbe898646d2002cebdce7992c3cced99872b95791619d47a4 slock-0.3.ebuild 807
+MISC ChangeLog 253 RMD160 37f773754eb5e9acf61825974d577079c5b428c8 SHA1 072f1ebe1688a54c37c4fc9d1db6f0b1ba702bff SHA256 1d0ed22264635599858d294c3f3e97b28e9f52aaa99410aa58d11be390e15ddf
+MD5 5868235eec7451a430118e6c0ee19b91 ChangeLog 253
+RMD160 37f773754eb5e9acf61825974d577079c5b428c8 ChangeLog 253
+SHA256 1d0ed22264635599858d294c3f3e97b28e9f52aaa99410aa58d11be390e15ddf ChangeLog 253
+MISC metadata.xml 278 RMD160 604c7138fd6db616b7056e97996008743f8f20a8 SHA1 7d4584fba38ac9da699c9ea463364994296f3f87 SHA256 603bd1ce121bb674d164a67831fd266b9b98b3014bf2cb078a1cbae082dc1a00
+MD5 5cb1ae92034151698f4ca9c214b7bde5 metadata.xml 278
+RMD160 604c7138fd6db616b7056e97996008743f8f20a8 metadata.xml 278
+SHA256 603bd1ce121bb674d164a67831fd266b9b98b3014bf2cb078a1cbae082dc1a00 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
diff --git a/x11-misc/slock/files/digest-slock-0.3 b/x11-misc/slock/files/digest-slock-0.3
new file mode 100644
index 000000000000..8af439f55075
--- /dev/null
+++ b/x11-misc/slock/files/digest-slock-0.3
@@ -0,0 +1,3 @@
+MD5 b557b5a67c95e2089c7e8b0be686fa6a slock-0.3.tar.gz 3393
+RMD160 d23ae5d25298ffb3a14f7c18c6965fe084f94936 slock-0.3.tar.gz 3393
+SHA256 053ca41160c8a2ace9d389da94439250907ebceac3855f15386ca510026dce9a slock-0.3.tar.gz 3393
diff --git a/x11-misc/slock/metadata.xml b/x11-misc/slock/metadata.xml
new file mode 100644
index 000000000000..fa90f3bbd172
--- /dev/null
+++ b/x11-misc/slock/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>cedk@gentoo.org</email>
+</maintainer>
+<longdescription>simple X screen locker</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/slock/slock-0.3.ebuild b/x11-misc/slock/slock-0.3.ebuild
new file mode 100644
index 000000000000..6065a82a52f3
--- /dev/null
+++ b/x11-misc/slock/slock-0.3.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.3.ebuild,v 1.1 2007/01/10 20:29:54 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
+}