From 6b5f47d490b109f56964a99f228826f722f14558 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sat, 26 Sep 2020 11:04:39 +0200 Subject: app-backup/btrbk: add USE=+lsbtr Add `lsbtr` use flag: enables the `lsbtr` command-line tool, useful for listing btrfs subvolumes and their mount points. Signed-off-by: Axel Burri Closes: https://github.com/gentoo/gentoo/pull/17672 Signed-off-by: Craig Andrews --- app-backup/btrbk/btrbk-0.30.0.ebuild | 3 ++- app-backup/btrbk/btrbk-9999.ebuild | 3 ++- app-backup/btrbk/metadata.xml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'app-backup') diff --git a/app-backup/btrbk/btrbk-0.30.0.ebuild b/app-backup/btrbk/btrbk-0.30.0.ebuild index 73afd3da3703..11509324b00e 100644 --- a/app-backup/btrbk/btrbk-0.30.0.ebuild +++ b/app-backup/btrbk/btrbk-0.30.0.ebuild @@ -18,7 +18,7 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" HOMEPAGE="https://digint.ch/btrbk/" LICENSE="GPL-3+" SLOT="0" -IUSE="+mbuffer +doc" +IUSE="+mbuffer +doc +lsbtr" DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" @@ -34,6 +34,7 @@ src_compile() { src_install() { local targets="install-bin install-etc install-share install-systemd" use doc && targets="${targets} install-man install-doc" + use lsbtr && targets="${targets} install-bin-links" emake \ DESTDIR="${D}" \ DOCDIR="/usr/share/doc/${PF}" \ diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild index f82156e37d50..9406cd634c9b 100644 --- a/app-backup/btrbk/btrbk-9999.ebuild +++ b/app-backup/btrbk/btrbk-9999.ebuild @@ -18,7 +18,7 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" HOMEPAGE="https://digint.ch/btrbk/" LICENSE="GPL-3+" SLOT="0" -IUSE="+mbuffer +doc" +IUSE="+mbuffer +doc +lsbtr" DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" @@ -34,6 +34,7 @@ src_compile() { src_install() { local targets="install-bin install-etc install-share install-systemd" use doc && targets="${targets} install-man install-doc" + use lsbtr && targets="${targets} install-bin-links" emake \ DESTDIR="${D}" \ DOCDIR="/usr/share/doc/${PF}" \ diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml index c8d33bb141b4..167b2b3b0445 100644 --- a/app-backup/btrbk/metadata.xml +++ b/app-backup/btrbk/metadata.xml @@ -22,5 +22,6 @@ Use sys-apps/pv to enable progress bar functionality Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality + Enable the lsbtr command-line tool -- cgit v1.2.3-65-gdbad