blob: e9bb7ca9427816416af3274bc27b900ff379adb5 (
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
35
36
37
38
39
40
41
42
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/dirvish/dirvish-1.2.ebuild,v 1.3 2005/11/20 03:20:27 ramereth Exp $
DESCRIPTION="Dirvish is a fast, disk based, rotating network backup system."
HOMEPAGE="http://www.dirvish.org/"
SRC_URI="http://dirvish.org/dirvish_${PV}.orig.tar.gz"
LICENSE="OSL-2.0"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="app-arch/tar"
RDEPEND="dev-perl/Time-modules
dev-perl/Period
>=net-misc/rsync-2.5.7"
MY_P="Dirvish-${PV}"
S=${WORKDIR}/${MY_P}
src_compile() {
for f in dirvish dirvish-runall dirvish-expire dirvish-locate ; do
cat > $f <<-EOF
#!/usr/bin/perl
\$CONFDIR = "/etc/dirvish";
EOF
cat $f.pl >> $f
cat loadconfig.pl >> $f
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
dohtml FAQ.html INSTALL RELEASE.html TODO.html
dodoc CHANGELOG COPYING
insinto /etc/dirvish; doins ${FILESDIR}/master.conf.example
}
|