You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
991 B
41 lines
991 B
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
|
|
||
13 years ago
|
inherit eutils
|
||
|
|
||
7 years ago
|
DESCRIPTION="Watches a multilog file for irregularities"
|
||
7 years ago
|
HOMEPAGE="https://www.eyrie.org/~eagle/software/multilog-watch/"
|
||
|
SRC_URI="https://archives.eyrie.org/software/system/multilog-watch
|
||
|
https://www.eyrie.org/%7Eeagle/software/multilog-watch/sample.filter"
|
||
13 years ago
|
|
||
|
LICENSE="Artistic GPL-2"
|
||
|
SLOT="0"
|
||
12 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
|
RDEPEND="dev-lang/perl
|
||
|
virtual/qmail"
|
||
|
|
||
|
src_unpack() {
|
||
7 years ago
|
mkdir "${S}" || die
|
||
|
cp "${DISTDIR}"/multilog-watch "${S}" || die
|
||
|
cp "${DISTDIR}"/sample.filter "${S}" || die
|
||
13 years ago
|
}
|
||
|
|
||
|
src_compile() {
|
||
7 years ago
|
mv multilog-watch multilog-watch.orig || die
|
||
|
sed -e 's/\/etc\/leland/\/etc\/multilog-watch/' multilog-watch.orig > multilog-watch || die
|
||
|
/usr/bin/pod2man -s 1 multilog-watch multilog-watch.1 || die
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
dodir /etc/multilog-watch
|
||
|
insinto /etc/multilog-watch
|
||
|
doins sample.filter
|
||
|
|
||
7 years ago
|
dobin multilog-watch
|
||
13 years ago
|
doman multilog-watch.1
|
||
|
}
|