From 06a6103da894128df885ac148ba0f3a094518f1a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 27 May 2016 05:26:48 +0200 Subject: x11-misc/xtrlock: Version bump. Package-Manager: portage-2.3.0_rc1 --- x11-misc/xtrlock/xtrlock-2.8.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 x11-misc/xtrlock/xtrlock-2.8.ebuild (limited to 'x11-misc/xtrlock/xtrlock-2.8.ebuild') diff --git a/x11-misc/xtrlock/xtrlock-2.8.ebuild b/x11-misc/xtrlock/xtrlock-2.8.ebuild new file mode 100644 index 000000000000..ee11fc9118ad --- /dev/null +++ b/x11-misc/xtrlock/xtrlock-2.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="A simplistic screen locking program for X" +HOMEPAGE="http://ftp.debian.org/debian/pool/main/x/xtrlock/" +SRC_URI="mirror://debian/pool/main/x/${PN}/${P/-/_}.tar.gz" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + x11-libs/libX11 +" +DEPEND=" + ${RDEPEND} + x11-proto/xproto + x11-misc/imake +" + +src_compile() { + xmkmf || die + emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \ + EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock +} + +src_install() { + dobin xtrlock + chmod u+s "${D}"/usr/bin/xtrlock + newman xtrlock.man xtrlock.1 + dodoc debian/changelog +} -- cgit v1.2.3-65-gdbad