diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-01-13 15:23:45 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-01-13 15:23:45 +0000 |
commit | 0258e7fb4f02a53cc8c98d2a857912c0dc43c2dc (patch) | |
tree | e72e742a728a3d01dd0e92fa471bef3537db4d42 | |
parent | Mask pglogd for removal. (diff) | |
download | gentoo-2-0258e7fb4f02a53cc8c98d2a857912c0dc43c2dc.tar.gz gentoo-2-0258e7fb4f02a53cc8c98d2a857912c0dc43c2dc.tar.bz2 gentoo-2-0258e7fb4f02a53cc8c98d2a857912c0dc43c2dc.zip |
Version bump
(Portage version: 2.1.1-r2)
-rw-r--r-- | x11-misc/slock/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/slock/files/digest-slock-0.4 | 3 | ||||
-rw-r--r-- | x11-misc/slock/slock-0.4.ebuild | 42 |
3 files changed, 51 insertions, 1 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog index c6597607ac4a..95e3098bf910 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.1 2007/01/10 20:29:54 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.2 2007/01/13 15:23:45 cedk Exp $ + +*slock-0.4 (13 Jan 2007) + + 13 Jan 2007; Cedric Krier <cedk@gentoo.org> +slock-0.4.ebuild: + Version bump *slock-0.3 (10 Jan 2007) diff --git a/x11-misc/slock/files/digest-slock-0.4 b/x11-misc/slock/files/digest-slock-0.4 new file mode 100644 index 000000000000..23c950a03438 --- /dev/null +++ b/x11-misc/slock/files/digest-slock-0.4 @@ -0,0 +1,3 @@ +MD5 979c1e089e9989ac8a6054987e085393 slock-0.4.tar.gz 3415 +RMD160 63431c9d4b46de059ea458cad69a95fd5474ca86 slock-0.4.tar.gz 3415 +SHA256 6394f3ed895d157c7c47849156cf2a3a6ce0745cfbc9001d903f37101e11c622 slock-0.4.tar.gz 3415 diff --git a/x11-misc/slock/slock-0.4.ebuild b/x11-misc/slock/slock-0.4.ebuild new file mode 100644 index 000000000000..d419e92ee9bb --- /dev/null +++ b/x11-misc/slock/slock-0.4.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.4.ebuild,v 1.1 2007/01/13 15:23:45 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 +} |