diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-05-27 05:26:48 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-05-27 05:26:48 +0200 |
commit | 06a6103da894128df885ac148ba0f3a094518f1a (patch) | |
tree | 8ef2f56630c336c7d68fd9bd80ab28ff66044fee /x11-misc/xtrlock/xtrlock-2.8.ebuild | |
parent | media-libs/libmtp: Stable for PPC64 (bug #568266). (diff) | |
download | gentoo-06a6103da894128df885ac148ba0f3a094518f1a.tar.gz gentoo-06a6103da894128df885ac148ba0f3a094518f1a.tar.bz2 gentoo-06a6103da894128df885ac148ba0f3a094518f1a.zip |
x11-misc/xtrlock: Version bump.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'x11-misc/xtrlock/xtrlock-2.8.ebuild')
-rw-r--r-- | x11-misc/xtrlock/xtrlock-2.8.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} |