From 5a165c60b9b8c4847067cb83b4be7da785d01f93 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Sep 2019 08:17:07 +0100 Subject: gentoo resync : 28.09.2019 --- dev-libs/libvterm/libvterm-0.1.1.ebuild | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-libs/libvterm/libvterm-0.1.1.ebuild (limited to 'dev-libs/libvterm/libvterm-0.1.1.ebuild') diff --git a/dev-libs/libvterm/libvterm-0.1.1.ebuild b/dev-libs/libvterm/libvterm-0.1.1.ebuild new file mode 100644 index 000000000000..a9f83554b9e2 --- /dev/null +++ b/dev-libs/libvterm/libvterm-0.1.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit 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://launchpad.net/${PN}/trunk/v$(ver_cut 1-2)/+download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +BDEPEND=" + dev-lang/perl + sys-devel/libtool + virtual/pkgconfig +" +DEPEND="" +RDEPEND="!dev-libs/libvterm-neovim" + +src_compile() { + append-cflags -fPIC + emake VERBOSE=1 PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake \ + VERBOSE=1 \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + DESTDIR="${D}" install + find "${D}" -name '*.la' -delete || die "Failed to prune libtool files" +} -- cgit v1.2.3