You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-backup/tob/tob-0.26-r2.ebuild

40 lines
842 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/tob/tob-0.26-r2.ebuild,v 1.5 2015/03/21 10:07:24 jlec Exp $
EAPI=5
inherit eutils
DESCRIPTION="A general driver for making and maintaining backups"
HOMEPAGE="http://tinyplanet.ca/projects/tob/"
SRC_URI="http://tinyplanet.ca/projects/tob/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="app-arch/afio"
DEPEND=""
src_prepare() {
epatch \
"${FILESDIR}"/${P}-no-maketemp-warn.diff \
"${FILESDIR}"/${P}-nice.patch \
"${FILESDIR}"/${P}-scsi-tape.diff
ecvs_clean
}
src_install() {
dosbin tob
dodir /var/lib/tob
insinto /etc/tob
doins tob.rc
insinto /etc/tob/volumes
doins example.*
dodoc -r README contrib/tobconv doc sample-rc
doman tob.8
}