tapp-text/xml2tsv: Add 9999 ebuild. - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit 77d2f4f9b9d0ebe736e30a1bc79150bf83376aee DIR parent 44fbb88335630101ea284c768256fe17f5831a29 HTML Author: parazyd <parazyd@dyne.org> Date: Sun, 24 Apr 2022 13:19:43 +0200 app-text/xml2tsv: Add 9999 ebuild. Diffstat: A app-text/xml2tsv/metadata.xml | 7 +++++++ A app-text/xml2tsv/xml2tsv-9999.ebuiā¦ | 35 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 0 deletions(-) --- DIR diff --git a/app-text/xml2tsv/metadata.xml b/app-text/xml2tsv/metadata.xml t@@ -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> DIR diff --git a/app-text/xml2tsv/xml2tsv-9999.ebuild b/app-text/xml2tsv/xml2tsv-9999.ebuild t@@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Simple xml-to-tsv converter" +HOMEPAGE="git://bitreich.org/xml2tsv" +EGIT_REPO_URI="git://bitreich.org/xml2tsv" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="" +IUSE="static" + +DEPEND="" +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 +}