diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-07-30 18:40:40 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-07-30 18:40:40 +0000 |
commit | e73de06afaaad1d6d090ed4e296b4dc8414fe06e (patch) | |
tree | 098b442becb4c50daa1b75b8c6bede6673465073 /x11-misc/slock | |
parent | Remove old (diff) | |
download | gentoo-2-e73de06afaaad1d6d090ed4e296b4dc8414fe06e.tar.gz gentoo-2-e73de06afaaad1d6d090ed4e296b4dc8414fe06e.tar.bz2 gentoo-2-e73de06afaaad1d6d090ed4e296b4dc8414fe06e.zip |
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-misc/slock')
-rw-r--r-- | x11-misc/slock/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/slock/slock-0.9.ebuild | 38 |
2 files changed, 44 insertions, 1 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog index 5c0e7c32fe6b..4eff81688144 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.20 2008/07/22 17:44:15 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.21 2008/07/30 18:40:40 cedk Exp $ + +*slock-0.9 (30 Jul 2008) + + 30 Jul 2008; Cédric Krier <cedk@gentoo.org> +slock-0.9.ebuild: + Version bump 22 Jul 2008; Torsten Veller <tove@gentoo.org> slock-0.8.ebuild: Stable on x86 (#232479) diff --git a/x11-misc/slock/slock-0.9.ebuild b/x11-misc/slock/slock-0.9.ebuild new file mode 100644 index 000000000000..d52cfc4d8243 --- /dev/null +++ b/x11-misc/slock/slock-0.9.ebuild @@ -0,0 +1,38 @@ +# 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.9.ebuild,v 1.1 2008/07/30 18:40:40 cedk Exp $ + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="simple X screen locker" +HOMEPAGE="http://www.suckless.org/programs/slock.html" +SRC_URI="http://code.suckless.org/dl/tools/${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/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall -g/" \ + -e "s/LDFLAGS = -s/LDFLAGS += -g/" \ + 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 +} |