commit 9d75b27a1bfdda97865813737990540435c4b63e parent 54fc74f08abb9ed55b4451002ce4ad04c8c6afdc Author: parazyd <parazyd@dyne.org> Date: Wed, 6 May 2020 01:00:49 +0200 app-text/pointtools: Add 9999 Diffstat:
A | app-text/pointtools/metadata.xml | | | 7 | +++++++ |
A | app-text/pointtools/pointtools-9999.ebuild | | | 35 | +++++++++++++++++++++++++++++++++++ |
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/app-text/pointtools/metadata.xml b/app-text/pointtools/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>parazyd@dyne.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-text/pointtools/pointtools-9999.ebuild b/app-text/pointtools/pointtools-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Tools to present point files" +HOMEPAGE="git://bitreich.org/pointtools" +EGIT_REPO_URI="git://bitreich.org/pointtools" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="static" + +DEPEND="sys-libs/ncurses:0" +RDEPEND="" + +src_prepare() { + default + + if use static; then + echo "LDFLAGS += -static" >> config.mk + fi +} + +src_compile() { + emake +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc -r README.md examples +}