commit: 16d80899d391a17c992e12474d9094b8096c879b
parent e353bae842dcfbdc65b0cc6b2be90cdbacc8a06a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 14 Aug 2024 18:28:51 +0200
sys-devel/pnut: new package, add 9999
Diffstat:
1 file changed, 29 insertions(+), 0 deletions(-)
diff --git a/sys-devel/pnut/pnut-9999.ebuild b/sys-devel/pnut/pnut-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3
+
+DESCRIPTION="Self-Compiling C Transpiler Targeting Human-Readable POSIX Shell"
+HOMEPAGE="https://pnut.sh/"
+EGIT_REPO_URI="https://github.com/udem-dlteam/pnut"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_prepare() {
+ default
+
+ sed -i 's;gcc;$(CC);' Makefile || die
+}
+
+src_compile() {
+ emake pnut-sh pnut.sh
+}
+
+src_install() {
+ einstalldocs
+ newbin build/pnut-sh pnut
+ dobin build/pnut.sh
+}