Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 681056
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +10 lines)
Line  Link Here
0
-- a/app-backup/btrbk/btrbk-0.27.1.ebuild
0
++ b/app-backup/btrbk/btrbk-0.27.1.ebuild
Lines 1-4 Link Here
1
# Copyright 1999-2018 Gentoo Authors
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=7
4
EAPI=7
Lines 19-36 Link Here
19
HOMEPAGE="https://digint.ch/btrbk/"
19
HOMEPAGE="https://digint.ch/btrbk/"
20
LICENSE="GPL-3+"
20
LICENSE="GPL-3+"
21
SLOT="0"
21
SLOT="0"
22
IUSE="+pv"
22
IUSE="+pv +doc"
23
23
24
DEPEND=">=app-text/asciidoc-8.6.0
24
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
25
       app-text/xmlto"
26
25
27
RDEPEND="dev-lang/perl
26
RDEPEND="dev-lang/perl
28
       net-misc/openssh
27
       net-misc/openssh
29
       pv? ( sys-apps/pv )
28
       pv? ( sys-apps/pv )
30
       >=sys-fs/btrfs-progs-3.18.2"
29
       >=sys-fs/btrfs-progs-3.18.2"
31
30
31
src_compile() {
32
       use doc && emake -C doc
33
}
32
src_install() {
34
src_install() {
33
       emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" install
35
       local targets="install-bin install-etc install-share install-systemd"
36
       use doc && targets="${targets} install-man install-doc"
37
       emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" ${targets}
34
}
38
}
35
pkg_preinst() {
39
pkg_preinst() {
36
       if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
40
       if has_version "<${CATEGORY}/${PN}-0.26.0" ; then

Return to bug 681056