blob: 4f0143cc45b8c65eec6fd4b264366dbc806c70c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/log4sh-1.2.5.ebuild,v 1.1 2005/02/02 11:33:13 ka0ttic Exp $
DESCRIPTION="A flexible logging framework for shell scripts"
HOMEPAGE="http://forestent.com/products/log4sh/"
SRC_URI="http://forestent.com/dist/${PN}/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="app-shells/bash"
src_test() {
make test || die "make test failed"
}
src_install() {
insinto /usr/lib/log4sh
doins build/log4sh || die "Failed to install log4sh"
dodoc doc/CHANGES doc/TODO
dohtml doc/*.{html,css}
docinto examples
dodoc src/examples/*
}
pkg_postinst() {
echo
einfo "To use log4sh, have your script source /usr/lib/log4sh/log4sh."
echo
}
|