summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Burri <axel@tty0.ch>2020-09-26 11:04:39 +0200
committerCraig Andrews <candrews@gentoo.org>2020-09-30 11:25:06 -0400
commit6b5f47d490b109f56964a99f228826f722f14558 (patch)
treee7a00b948c65260d2e174f295bae43bcd81c6df6 /app-backup/btrbk
parentprofiles/package.mask: unmask app-admin/apg (diff)
downloadgentoo-6b5f47d490b109f56964a99f228826f722f14558.tar.gz
gentoo-6b5f47d490b109f56964a99f228826f722f14558.tar.bz2
gentoo-6b5f47d490b109f56964a99f228826f722f14558.zip
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 <axel@tty0.ch> Closes: https://github.com/gentoo/gentoo/pull/17672 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'app-backup/btrbk')
-rw-r--r--app-backup/btrbk/btrbk-0.30.0.ebuild3
-rw-r--r--app-backup/btrbk/btrbk-9999.ebuild3
-rw-r--r--app-backup/btrbk/metadata.xml1
3 files changed, 5 insertions, 2 deletions
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>
<flag name="pv">Use sys-apps/pv to enable progress bar functionality</flag>
<flag name="mbuffer">Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality</flag>
+ <flag name="lsbtr">Enable the lsbtr command-line tool</flag>
</use>
</pkgmetadata>