parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

commit b850e77c86275995713f65eb7b1fd4db7cef9efd
parent 59f5124eb37690ae71376bc213621a9b135aebe6
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 13 Apr 2018 16:58:32 +0200

app-text/catpoint: Add 9999

Diffstat:
Aapp-text/catpoint/catpoint-9999.ebuild | 41+++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+), 0 deletions(-)

diff --git a/app-text/catpoint/catpoint-9999.ebuild b/app-text/catpoint/catpoint-9999.ebuild @@ -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 +}