blob: b3638a3528e1790a733df6917c4647720a9850c0 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
#
# 2003-02-19 tg created ebuild
DESCRIPTION="Reoback Backup Solution"
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/reoback/reoback-1.0_r3.tar.gz"
HOMEPAGE="http://reoback.penguinsoup.org/"
LICENSE="GPL-2"
KEYWORDS="x86"
SLOT="0"
RDEPEND=">=sys-apps/tar-1.13
>=dev-lang/perl-5.6.1 "
DEPEND="${RDEPEND}"
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
}
|