summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2022-02-26 21:53:37 +0100
committerPatrice Clement <monsieurp@gentoo.org>2022-02-26 22:03:04 +0100
commit7af141208324c536031def9ce250c7bcb5d8cffd (patch)
treeb818398e237de263f92df2b5fcfbb6de57f76189 /app-admin
parentnet-misc/spiped: add 1.6.2 (diff)
downloadgentoo-7af141208324c536031def9ce250c7bcb5d8cffd.tar.gz
gentoo-7af141208324c536031def9ce250c7bcb5d8cffd.tar.bz2
gentoo-7af141208324c536031def9ce250c7bcb5d8cffd.zip
app-admin/entr: add 5.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/entr/Manifest1
-rw-r--r--app-admin/entr/entr-5.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/app-admin/entr/Manifest b/app-admin/entr/Manifest
index bb216ca881db..5a4f819d7fde 100644
--- a/app-admin/entr/Manifest
+++ b/app-admin/entr/Manifest
@@ -1 +1,2 @@
DIST entr-5.0.tar.gz 25480 BLAKE2B 5de00d6b1042667e209b2c33d7d019bad4833a0711a18d47eddb129ef60f5518c42fc2af3169510f57eb39f861d416ab67d7cd83e4a631cfcaa4cc7ac266f82d SHA512 f485efb7d05f1d099c85d8af2f313e3ed2f36720483afc3004479b5b8754c60c52a108b827efd017c674f01d6ced2878a317addef3960c8cdf9e6b142f2ad5fd
+DIST entr-5.1.tar.gz 25674 BLAKE2B e456c415198f4d5be49fd52785cd8cce41756d2ebe14c493891c3fa05f3a763c9e3be65538d3150b484e48e0d23615556dd6c45fdbefc7b2052fc36f265ca685 SHA512 b8ee7dae5bda503af814eb109a0180c9864fa1b1cf5a2fe53c9915b6536e9471f8293c63d138d881da7bf70dfee24a6c271b82ecb6ccb2cb6ea664cabedba202
diff --git a/app-admin/entr/entr-5.1.ebuild b/app-admin/entr/entr-5.1.ebuild
new file mode 100644
index 000000000000..239757d0dcd1
--- /dev/null
+++ b/app-admin/entr/entr-5.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Run arbitrary commands when files change"
+HOMEPAGE="https://eradman.com/entrproject/"
+SRC_URI="https://eradman.com/entrproject/code/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86"
+
+src_configure() {
+ sh configure || die
+ sed -i -e 's#\(^PREFIX \).*#\1\?= /usr#' Makefile.bsd || die
+}
+
+src_compile() {
+ export CC=$(tc-getCC)
+ default
+}
+
+src_test() {
+ export CC=$(tc-getCC)
+ default
+}