/[gentoo-x86]/app-arch/flexbackup/flexbackup-1.2.0-r1.ebuild
Gentoo

Contents of /app-arch/flexbackup/flexbackup-1.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Mon Jul 4 05:17:18 2005 UTC (8 years, 9 months ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Moved to app-backup/flexbackup.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/flexbackup/flexbackup-1.2.0-r1.ebuild,v 1.10 2005/01/01 11:44:50 eradicator Exp $
4
5 DESCRIPTION="Flexible backup script using perl"
6 HOMEPAGE="http://flexbackup.sourceforge.net/"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="x86"
12 IUSE=""
13
14 RDEPEND="dev-lang/perl
15 sys-apps/findutils
16 app-arch/tar
17 app-arch/mt-st"
18
19 src_compile() {
20 emake BINPATH="/usr/bin" || die "compile problem"
21 }
22
23 src_install() {
24 dodir /etc /usr/bin
25 einstall CONFFILE="${D}/etc/flexbackup.conf" BINPATH="${D}/usr/bin"
26
27 dosed "/^\$type = /s:'afio':'tar':" /etc/flexbackup.conf
28 dosed "/^\$buffer = /s:'buffer':'false':" /etc/flexbackup.conf
29
30 dodoc CHANGES CREDITS INSTALL README TODO
31 dohtml faq.html
32 }
33
34 pkg_postinst() {
35 einfo "Please edit your /etc/flexbackup.conf file to suit your"
36 einfo "needs. If you are using devfs, the tape device should"
37 einfo "be set to /dev/tapes/tape0/mtn. If you need to use any"
38 einfo "archiver other than tar, please emerge it separately."
39 }

  ViewVC Help
Powered by ViewVC 1.1.20