parlay

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

commit 77d2f4f9b9d0ebe736e30a1bc79150bf83376aee
parent 44fbb88335630101ea284c768256fe17f5831a29
Author: parazyd <parazyd@dyne.org>
Date:   Sun, 24 Apr 2022 13:19:43 +0200

app-text/xml2tsv: Add 9999 ebuild.

Diffstat:
Aapp-text/xml2tsv/metadata.xml | 7+++++++
Aapp-text/xml2tsv/xml2tsv-9999.ebuild | 35+++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 0 deletions(-)

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