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

Contents of /app-arch/flexbackup/flexbackup-1.2.1.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.1.ebuild,v 1.10 2005/06/05 11:29:45 hansmi 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="~amd64 hppa ppc 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 /usr/share/man/man{1,5}
25 einstall BINPATH="${D}/usr/bin" CONFFILE="${D}/etc/flexbackup.conf" \
26 MANPATH="${D}/usr/share/man"
27
28 dosed "/^\$type = /s:'afio':'tar':" /etc/flexbackup.conf
29 dosed "/^\$buffer = /s:'buffer':'false':" /etc/flexbackup.conf
30
31 dodoc CHANGES CREDITS INSTALL README TODO
32 dohtml faq.html
33 }
34
35 pkg_postinst() {
36 einfo "Please edit your /etc/flexbackup.conf file to suit your"
37 einfo "needs. If you are using devfs, the tape device should"
38 einfo "be set to /dev/tapes/tape0/mtn. If you need to use any"
39 einfo "archiver other than tar, please emerge it separately."
40 }

  ViewVC Help
Powered by ViewVC 1.1.20