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.
47 lines
992 B
47 lines
992 B
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
6 years ago
|
|
||
10 years ago
|
DESCRIPTION="Dirvish is a fast, disk based, rotating network backup system"
|
||
13 years ago
|
HOMEPAGE="http://www.dirvish.org/"
|
||
|
SRC_URI="http://dirvish.org/${P}.tgz"
|
||
|
|
||
|
LICENSE="OSL-2.0"
|
||
|
SLOT="0"
|
||
12 years ago
|
KEYWORDS="amd64 ppc x86"
|
||
13 years ago
|
|
||
2 years ago
|
RDEPEND="
|
||
|
dev-perl/Time-ParseDate
|
||
8 years ago
|
dev-perl/Time-Period
|
||
2 years ago
|
net-misc/rsync
|
||
|
"
|
||
|
BDEPEND="app-arch/tar"
|
||
13 years ago
|
|
||
6 years ago
|
src_prepare() {
|
||
|
default
|
||
|
|
||
2 years ago
|
local file
|
||
|
for file in dirvish dirvish-runall dirvish-expire dirvish-locate; do
|
||
|
cat > ${file} <<-EOF || die
|
||
|
#!${EPREFIX}/usr/bin/perl
|
||
13 years ago
|
|
||
2 years ago
|
\$CONFDIR = "${EPREFIX}/etc/dirvish";
|
||
13 years ago
|
|
||
|
EOF
|
||
2 years ago
|
cat ${file}.pl >> ${file} || die
|
||
|
cat loadconfig.pl >> ${file} || die
|
||
13 years ago
|
done
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
dosbin dirvish dirvish-runall dirvish-expire dirvish-locate
|
||
|
doman dirvish.8 dirvish-runall.8 dirvish-expire.8 dirvish-locate.8 dirvish.conf.5
|
||
|
|
||
6 years ago
|
HTML_DOCS=( {FAQ,RELEASE,TODO}.html )
|
||
|
einstalldocs
|
||
|
|
||
|
insinto /etc/dirvish
|
||
|
doins "${FILESDIR}"/master.conf.example
|
||
13 years ago
|
}
|