summaryrefslogtreecommitdiff
path: root/dev-libs/log4sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/log4sh')
-rw-r--r--dev-libs/log4sh/Manifest2
-rw-r--r--dev-libs/log4sh/log4sh-1.4.2.ebuild15
2 files changed, 8 insertions, 9 deletions
diff --git a/dev-libs/log4sh/Manifest b/dev-libs/log4sh/Manifest
index dd69491629ec..7236c757080c 100644
--- a/dev-libs/log4sh/Manifest
+++ b/dev-libs/log4sh/Manifest
@@ -1,3 +1,3 @@
DIST log4sh-1.4.2.tgz 91994 BLAKE2B 4ce0e65375e7e7470fb080c2873f50a6c5e86dca79ab81eecf14e6922763b2281bc2486b8c5bd689a00b4aae2debe4966d6fb3f57c6e730c370392c85c08c27a SHA512 f4b983e352c94b33b355a2e743e8431cff4bf6c24b4db18087556d5a8d10ee458c2216f7b9175519e3904051e34f61b2add8faacac0b125c61cde2d76538b290
-EBUILD log4sh-1.4.2.ebuild 992 BLAKE2B d991a1ac4c44c65502e857ee8cb5f58ef2aed9eb6bf918dac4aeab8d75386a76b9a169d80b3575bff28a701a15d54b15360563aeb792a322feb2e0cafd83aafd SHA512 12ed5bfb076920276a8f3dc30ecd6c21909bb2dc985af3c5964b3eb973b045631490a48d6a9857876b5dee725d257ae459dd27a0fbeb53ab6c8c662667a33971
+EBUILD log4sh-1.4.2.ebuild 964 BLAKE2B 29bd17eb8074b1e0be1df4f943a7a7ca58c870f89187a0ae3d5500e798dbedcbf40749917f0e61136684dd0afd8519b37e861a5bae469ed435f82d3629024b33 SHA512 feaaa3338dbb487f57629dbdb2052e1f6fa6f98c17013f24d9f650a69c3071cd750a44d4df06c983b00ca6beb40d07bff47dbc765223fb93d1ae6ba93f926057
MISC metadata.xml 323 BLAKE2B 2c4b9e9d846a491b27adc7b85e61405f8184ffdb9bf603c3931c7fe776379c0537f840ed068a4f1c29c77a5292b918830b99adf04c8d6bb0ac0b455462528fcf SHA512 e01225b153a0070455460ac8c7b9da993816a4c27c92c94140d36fa0ca0d0e5a689d55f0aa6e7a575bdd040ac2f7312e336d8ea3f1a84362e7cb6321e2b20513
diff --git a/dev-libs/log4sh/log4sh-1.4.2.ebuild b/dev-libs/log4sh/log4sh-1.4.2.ebuild
index bb98dc57cf64..09caddd99216 100644
--- a/dev-libs/log4sh/log4sh-1.4.2.ebuild
+++ b/dev-libs/log4sh/log4sh-1.4.2.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils
+EAPI=7
DESCRIPTION="A flexible logging framework for shell scripts"
HOMEPAGE="https://sourceforge.net/projects/log4sh"
@@ -22,8 +20,7 @@ src_compile() {
src_test() {
# testsuite needs USER variable
- export USER="$(whoami)"
- make test || die "make test failed"
+ USER="$(whoami)" emake test
}
src_install() {
@@ -31,7 +28,9 @@ src_install() {
doins build/log4sh
dodoc doc/*.txt
- dohtml doc/*.{html,css}
+
+ docinto html
+ dodoc doc/*.{html,css}
if use examples; then
docinto examples
@@ -41,7 +40,7 @@ src_install() {
}
pkg_postinst() {
- elog "To use log4sh, have your script source /usr/lib/log4sh/log4sh"
+ elog "To use log4sh, have your script source ${EPREFIX}/usr/lib/log4sh/log4sh"
elog "If you want to use remote logging, you should install package,"
elog "that provides netcat binary (for example - net-analyzer/netcat)"
}