parlay

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

commit 40bf679559eb027ba0661af33856c5fd318eaa15
parent 480054346a6a7f3479690589e7dc4ee67f1c2ff1
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 13 May 2020 15:09:50 +0200

sci-mathematics/e: Add 9999 ebuild.

Diffstat:
Asci-mathematics/e/e-9999.ebuild | 36++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+), 0 deletions(-)

diff --git a/sci-mathematics/e/e-9999.ebuild b/sci-mathematics/e/e-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="tiny but full expression evaluator" +HOMEPAGE="https://parazyd.org/git/e/" +EGIT_REPO_URI="https://git.parazyd.org/e.git" + +LICENSE="GPL-2" +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.md +}