summaryrefslogtreecommitdiff
blob: 94afc30988bbcce8511fd196368b728b9f32436b (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/reoback/reoback-1.0-r3.ebuild,v 1.6 2004/03/23 18:55:03 mholzer Exp $

DESCRIPTION="Reoback Backup Solution"
SRC_URI="mirror://sourceforge/reoback/reoback-1.0_r3.tar.gz"
HOMEPAGE="http://reoback.penguinsoup.org/"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"
SLOT="0"

DEPEND=">=app-arch/tar-1.13
	>=dev-lang/perl-5.6.1 "

src_install() {

		# remove stupid cvs-dirs
		rm -r ${S}/CVS
		rm -r ${S}/conf/CVS
		rm -r ${S}/data
		rm -r ${S}/docs/CVS

		# make dirs and copy files
		dodir /etc/reoback
		dosbin ${S}/reoback.pl ${D}/usr/sbin/
		cp -ax ${S}/run_reoback.sh ${D}/etc/reoback/
		cp -ax ${S}/conf/* ${D}/etc/reoback/

		# fix permissions
		chmod 750 ${D}/usr/sbin/reoback.pl
		chmod 750 ${D}/etc/reoback/run_reoback.sh

		# install documentation
		cd ${S}/docs
		dodoc BUGS CHANGES INSTALL LICENSE MANUALS README TODO
}