diff options
Diffstat (limited to 'dev-libs/libtermkey')
-rw-r--r-- | dev-libs/libtermkey/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libtermkey/libtermkey-0.17.ebuild | 38 | ||||
-rw-r--r-- | dev-libs/libtermkey/metadata.xml | 8 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libtermkey/Manifest b/dev-libs/libtermkey/Manifest new file mode 100644 index 0000000..e3c9ef4 --- /dev/null +++ b/dev-libs/libtermkey/Manifest @@ -0,0 +1 @@ +DIST libtermkey-0.17.tar.gz 42176 SHA256 68949364ed5eaad857b3dea10071cde74b00b9f236dfbb702169f246c3cef389 SHA512 8b96f9961ff77872a974b376c73abc4afbe444a761f96b3681fc5420e33548a02609bf8b2b24494965824ca5dd80c953d1d4e2701070559365633d7bf0fdcb12 WHIRLPOOL ef755c2de422d8778d8501be3aefe249b6194e71ffd862a2479158c009dd483508e6a4e35a5a1338d219e585ad465ccd3cfecfc8db6c7cd0440aa802d71f645a diff --git a/dev-libs/libtermkey/libtermkey-0.17.ebuild b/dev-libs/libtermkey/libtermkey-0.17.ebuild new file mode 100644 index 0000000..e5da7b2 --- /dev/null +++ b/dev-libs/libtermkey/libtermkey-0.17.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit eutils 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 + sys-libs/ncurses[unicode] )" +DEPEND="${RDEPEND} + sys-devel/libtool + virtual/pkgconfig + demos? ( dev-libs/glib:2 )" + +src_prepare() { + if ! use demos; then + sed -e 's|all: $(LIBRARY) $(DEMOS)|all: $(LIBRARY)|' -i Makefile || die + fi +} + +src_compile() { + emake PREFIX="${EPREFIX}/usr" all +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + DESTDIR="${D}" install + prune_libtool_files +} diff --git a/dev-libs/libtermkey/metadata.xml b/dev-libs/libtermkey/metadata.xml new file mode 100644 index 0000000..f2b4a5d --- /dev/null +++ b/dev-libs/libtermkey/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>yngwin@gentoo.org</email> + <name>Ben de Groot</name> + </maintainer> +</pkgmetadata> |