parlay

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

xml2tsv-9999.ebuild (509B)


      1 # Copyright 1999-2025 Gentoo Authors
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=8
      5 
      6 inherit git-r3
      7 
      8 DESCRIPTION="Simple xml-to-tsv converter"
      9 HOMEPAGE="http://bitreich.org"
     10 EGIT_REPO_URI="git://bitreich.org/xml2tsv"
     11 
     12 LICENSE="ISC"
     13 SLOT="0"
     14 KEYWORDS=""
     15 IUSE="static"
     16 
     17 src_prepare() {
     18 	default
     19 
     20 	if use static; then
     21 		echo "LDFLAGS += -static" >> config.mk
     22 	fi
     23 }
     24 
     25 src_compile() {
     26 	emake
     27 }
     28 
     29 src_install() {
     30 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
     31 	dodoc -r README.md
     32 }