diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-libs/log4sh/log4sh-1.4.2.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-libs/log4sh/log4sh-1.4.2.ebuild')
-rw-r--r-- | dev-libs/log4sh/log4sh-1.4.2.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
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)" } |