diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-10-15 12:01:41 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-10-15 12:01:53 +0200 |
commit | 913a5f914d0e4586205b6667a0b92941ea88148d (patch) | |
tree | 838eb190b38c19dd53d0abebc722ffb7f0b75e74 /x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild | |
parent | app-emacs/d-mode: Version bump. (diff) | |
download | gentoo-913a5f914d0e4586205b6667a0b92941ea88148d.tar.gz gentoo-913a5f914d0e4586205b6667a0b92941ea88148d.tar.bz2 gentoo-913a5f914d0e4586205b6667a0b92941ea88148d.zip |
x11-misc/xautolock: Version 2.2_p5_p2
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild')
-rw-r--r-- | x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild b/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild new file mode 100644 index 000000000000..4a586f59b320 --- /dev/null +++ b/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="An automatic X screen-locker/screen-saver" +HOMEPAGE="http://www.ibiblio.org/pub/Linux/X11/screensavers/" + +DEB_REV_MAJ="$(ver_cut 4)" +DEB_REV_MIN="$(ver_cut 6)" +DEB_REVISION="${DEB_REV_MAJ/p}.${DEB_REV_MIN/p}" +SRC_URI=" + ${HOMEPAGE}/${P/_p*/}.tgz + mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEB_REVISION}.debian.tar.xz +" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + x11-libs/libXScrnSaver +" +DEPEND=" + ${RDEPEND} + app-text/rman + x11-base/xorg-proto + x11-misc/imake +" +S=${WORKDIR}/${P/_p*} + +src_prepare() { + eapply "${WORKDIR}"/debian/patches/*.patch + default +} + +src_configure() { + xmkmf || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install () { + dobin xautolock + newman xautolock.man xautolock.1 + dodoc Changelog Readme Todo +} |