tapp-text/catpoint: Add 9999 - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit b850e77c86275995713f65eb7b1fd4db7cef9efd DIR parent 59f5124eb37690ae71376bc213621a9b135aebe6 HTML Author: parazyd <parazyd@dyne.org> Date: Fri, 13 Apr 2018 16:58:32 +0200 app-text/catpoint: Add 9999 Diffstat: A app-text/catpoint/catpoint-9999.eb… | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+), 0 deletions(-) --- DIR diff --git a/app-text/catpoint/catpoint-9999.ebuild b/app-text/catpoint/catpoint-9999.ebuild t@@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="curses presentation tool" +HOMEPAGE="git://bitreich.org/catpoint" +EGIT_REPO_URI="git://bitreich.org/catpoint" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="static" + +DEPEND="sys-libs/ncurses:0" +RDEPEND="" + +src_prepare() { + default + + sed -i \ + -e "/^CDFLAGS/{s|=|+=|g;s|-O. | |g}" \ + -e "/^LDFLAGS/{s|=|+=|g;s|-s | |g}" \ + -e "s@-I/usr/include@@" -e "s@-L/usr/lib@@" \ + config.mk || die + + if use static; then + echo "LDFLAGS += -static" >> config.mk + fi +} + +src_compile() { + emake catpoint +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc README.md showoff/*.txt +}