From 3ff6b9b16af6428dd8eda0083905febdbc2e5051 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Krier?= Date: Wed, 10 Jan 2007 20:29:54 +0000 Subject: [PATCH] New ebuild for bug #151039 Package-Manager: portage-2.1.1-r2 --- x11-misc/slock/ChangeLog | 10 +++++++ x11-misc/slock/Manifest | 16 ++++++++++ x11-misc/slock/files/digest-slock-0.3 | 3 ++ x11-misc/slock/metadata.xml | 9 ++++++ x11-misc/slock/slock-0.3.ebuild | 42 +++++++++++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 x11-misc/slock/ChangeLog create mode 100644 x11-misc/slock/Manifest create mode 100644 x11-misc/slock/files/digest-slock-0.3 create mode 100644 x11-misc/slock/metadata.xml create mode 100644 x11-misc/slock/slock-0.3.ebuild 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 +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..55ddcb9313b0 --- /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 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 +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 @@ + + + +no-herd + + cedk@gentoo.org + +simple X screen locker + 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 +} -- 2.26.2