commit 21991cfcc4309e40a4f443f88dba91de028ab3bc parent 40bf679559eb027ba0661af33856c5fd318eaa15 Author: parazyd <parazyd@dyne.org> Date: Wed, 13 May 2020 15:25:57 +0200 app-misc/wendy: Add 9999 ebuild. Diffstat:
A | app-misc/wendy/wendy-9999.ebuild | | | 36 | ++++++++++++++++++++++++++++++++++++ |
1 file changed, 36 insertions(+), 0 deletions(-)
diff --git a/app-misc/wendy/wendy-9999.ebuild b/app-misc/wendy/wendy-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 savedconfig + +DESCRIPTION="watch files/directories and run commands on any event" +HOMEPAGE="https://git.z3bra.org/wendy/log.html" +EGIT_REPO_URI="git://z3bra.org/wendy" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + default + + sed -i \ + -e "/^CFLAGS/{s|=|+=|;s|-O. | |g}" \ + -e "/^LDFLAGS/{s|=|+=|g;s|-s$| |g}" \ + config.mk || die +} + +src_compile() { + emake all +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc README +}