forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tob-0.26-r2.ebuild
38 lines (30 loc) · 724 Bytes
/
tob-0.26-r2.ebuild
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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="A general driver for making and maintaining backups"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${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
}