/[gentoo-x86]/app-arch/hdup/hdup-1.6.29-r1.ebuild
Gentoo

Contents of /app-arch/hdup/hdup-1.6.29-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jul 20 17:03:41 2004 UTC (16 years ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
cleanup

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/hdup/hdup-1.6.29-r1.ebuild,v 1.3 2004/06/24 21:31:36 agriffis Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Hdup is backup program using tar,find,gzip/bzip2,mcrypt and ssh."
8 HOMEPAGE="http://www.miek.nl/projects/hdup16/hdup16.html"
9 SRC_URI="http://www.miek.nl/projects/hdup16/previous/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc"
14 IUSE=""
15
16 DEPEND="app-arch/tar
17 sys-apps/findutils
18 app-arch/gzip
19 app-arch/bzip2
20 net-misc/openssh
21 sys-apps/coreutils"
22
23 S=${WORKDIR}/${PN}16
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 # see bug 49183 for details
29 epatch ${FILESDIR}/${P}-gentoo.patch
30 }
31
32 src_compile() {
33 econf || die
34 emake || die
35 }
36
37 src_install() {
38 dodir /usr/sbin
39 make prefix=${D}/usr mandir=${D}/usr/share/man sysconfdir=${D}/etc \
40 install || die
41
42 dohtml doc/FAQ.html
43 dodoc ChangeLog INSTALL TODO Credits
44 dodoc examples/hdup.cron examples/no-history-post-run.sh
45 dodoc contrib/cleanup.pl contrib/backup.pl
46 }
47
48 pkg_postinst() {
49 einfo "now edit your /etc/hdup/${PN}.conf"
50 einfo "you can also check included examples, see:"
51 einfo "\t/usr/share/doc/${P}/"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20