logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: 97da4743e70b27ca5bf18654148916a21f153c29
parent: f95238b5bfd15f794a9e5ea9282571e4efb0cb20
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 18 Mar 2020 20:36:03 +0100

dev-libs/libvterm: New package, 0.0_pre767

Diffstat:

Adev-libs/libvterm/Manifest1+
Adev-libs/libvterm/libvterm-0.0_pre767.ebuild37+++++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/dev-libs/libvterm/Manifest b/dev-libs/libvterm/Manifest @@ -0,0 +1 @@ +DIST libvterm-0.0_pre767.tar.gz 74970 BLAKE2B d7bf3f234590e6dd411e6b5e96b876ccbac614e0b3d47192be2350cc687ce79ca8406f4ade33ab7bd0a8d99717bf16b84d6271d7e20c4cfea28b077d8fd9ac75 SHA512 ff66a2662540fa2beffbdf395a5ed0b27f947a225274f548c0535cfbad3bf298361514fbfbc14dc82e3c777f902909f126b2b0913ac1228f8c963dd2ca9c5e93 diff --git a/dev-libs/libvterm/libvterm-0.0_pre767.ebuild b/dev-libs/libvterm/libvterm-0.0_pre767.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit libtool flag-o-matic + +DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator" +HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/" +SRC_URI="https://bazaar.launchpad.net/~libvterm/libvterm/trunk/tarball/767 -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + sys-devel/libtool + virtual/pkgconfig +" + +RDEPEND="!dev-libs/libvterm-neovim" + +S="${WORKDIR}/~libvterm/libvterm/trunk/" + +src_compile() { + append-cflags -fPIC + emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + DESTDIR="${D}" install + + find "${D}" -name '*.la' -delete +}