libvterm-neovim-0.0_pre20150621.ebuild 721 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils flag-o-matic multilib
  5. DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
  6. HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
  7. SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
  8. LICENSE="MIT"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. DEPEND="sys-devel/libtool
  13. virtual/pkgconfig"
  14. src_compile() {
  15. append-cflags -fPIC
  16. emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
  17. }
  18. src_install() {
  19. emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
  20. DESTDIR="${D}" install
  21. prune_libtool_files
  22. dodoc doc/*
  23. }