summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Schulz <jason@schulz.name>2015-12-06 14:47:42 -0800
committerJason Schulz <jason@schulz.name>2015-12-07 12:00:29 -0800
commit0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc (patch)
tree69f1c7b01a856050efed42bdbce73b2e979aa2d6 /dev-libs/libtermkey/libtermkey-0.18.ebuild
parentapp-crypt/gnupg: Version bump to 2.1.10 (diff)
downloadgentoo-0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc.tar.gz
gentoo-0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc.tar.bz2
gentoo-0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc.zip
dev-libs/libtermkey: version update to 0.18
This fixes a bug with <=app-editor/neovim-0.1.0. Gentoo-Bug: 566692 Suggested-By: Jason Schulz <jason@schulz.name>
Diffstat (limited to 'dev-libs/libtermkey/libtermkey-0.18.ebuild')
-rw-r--r--dev-libs/libtermkey/libtermkey-0.18.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libtermkey/libtermkey-0.18.ebuild b/dev-libs/libtermkey/libtermkey-0.18.ebuild
new file mode 100644
index 00000000000..1bdda24cf39
--- /dev/null
+++ b/dev-libs/libtermkey/libtermkey-0.18.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="Library for easy processing of keyboard entry from terminal-based programs"
+HOMEPAGE="http://www.leonerd.org.uk/code/libtermkey/"
+SRC_URI="http://www.leonerd.org.uk/code/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="demos"
+
+RDEPEND="dev-libs/unibilium:="
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig
+ demos? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ if ! use demos; then
+ sed -e '/^all:/s:$(DEMOS)::' -i Makefile || die
+ fi
+}
+
+src_compile() {
+ append-flags -fPIC -fPIE
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ DESTDIR="${D}" install
+ prune_libtool_files
+}