1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A flexible logging framework for shell scripts"
9 HOMEPAGE="https://sourceforge.net/projects/log4sh"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
14 KEYWORDS="amd64 ~arm ~ppc x86"
17 RDEPEND="app-shells/bash"
24 # testsuite needs USER variable
25 export USER="$(whoami)"
26 make test || die "make test failed"
30 insinto /usr/lib/log4sh
34 dohtml doc/*.{html,css}
38 docompress -x /usr/share/doc/${PF}/examples
44 elog "To use log4sh, have your script source /usr/lib/log4sh/log4sh"
45 elog "If you want to use remote logging, you should install package,"
46 elog "that provides netcat binary (for example - net-analyzer/netcat)"