blob: 29a43205f717c84985688715cd596e4949a0341a (
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
43
44
45
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/ccollect/ccollect-0.4.2.ebuild,v 1.4 2006/11/16 07:07:10 killerfox Exp $
DESCRIPTION="(pseudo) incremental backup with different exclude lists using
hardlinks and rsync"
HOMEPAGE="http://unix.schottelius.org/ccollect/"
SRC_URI="http://unix.schottelius.org/ccollect/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="hppa ppc ~x86"
IUSE="doc"
DEPEND="doc? ( >=app-text/asciidoc-7.0.2
app-text/docbook2X )"
RDEPEND="sys-devel/bc
net-misc/rsync
app-arch/pax"
src_compile() {
if use doc; then
make documentation
else
einfo 'Nothing to compile'
fi
}
src_install() {
dobin ccollect.sh
insinto /usr/share/${PN}/tools
doins tools/*
if use doc; then
dodoc doc/*
# dodoc is not recursive. So do a workaround.
insinto /usr/share/doc/${PF}/examples/
doins -r ${S}/conf
fi
}
pkg_postinst() {
ewarn "If you're upgrading from 0.3.X or less, please run"
ewarn "/usr/share/ccollect/tools/config-pre-0.4-to-0.4.sh"
ewarn "because the old configuration is no longer compatible."
}
|