summaryrefslogtreecommitdiff
blob: 4f1d03b57433c729bb5ac4f264148b647a72aaff (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/hdup/hdup-1.6.31.ebuild,v 1.3 2004/07/07 21:12:29 slarti Exp $

DESCRIPTION="Hdup is backup program using tar,find,gzip/bzip2,mcrypt and ssh."
HOMEPAGE="http://www.miek.nl/projects/hdup16/hdup16.html"
SRC_URI="http://www.miek.nl/projects/hdup16/previous/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""

DEPEND="app-arch/tar
	sys-apps/findutils
	app-arch/gzip
	app-arch/bzip2
	net-misc/openssh
	sys-apps/coreutils"

S=${WORKDIR}/${PN}16

src_compile() {
	econf || die
	emake || die
}

src_install() {
	dodir /usr/sbin
	make prefix=${D}/usr mandir=${D}/usr/share/man sysconfdir=${D}/etc \
		install || die

	dohtml doc/FAQ.html
	dodoc ChangeLog INSTALL Credits
	dodoc examples/hdup.cron examples/no-history-post-run.sh
	dodoc contrib/cleanup.pl contrib/backup.pl
}

pkg_postinst() {
	einfo "now edit your /etc/hdup/${PN}.conf"
	einfo "you can also check included examples, see:"
	einfo "\t/usr/share/doc/${P}/"
}