summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-09-13 22:30:11 +0200
committerDavid Seifert <soap@gentoo.org>2021-09-13 22:30:11 +0200
commit7fd51b0b6e076311e75a3da77dd9363945b8c6e9 (patch)
tree96aa298211a7d9039e0c2e2abacc2976c16e9441 /app-backup/fsarchiver/fsarchiver-0.8.6-r1.ebuild
parentapp-arch/dump: e2fsprogs-libs → e2fsprogs (diff)
downloadgentoo-7fd51b0b6e076311e75a3da77dd9363945b8c6e9.tar.gz
gentoo-7fd51b0b6e076311e75a3da77dd9363945b8c6e9.tar.bz2
gentoo-7fd51b0b6e076311e75a3da77dd9363945b8c6e9.zip
app-backup/fsarchiver: e2fsprogs-libs → e2fsprogs
Bug: https://bugs.gentoo.org/806875 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-backup/fsarchiver/fsarchiver-0.8.6-r1.ebuild')
-rw-r--r--app-backup/fsarchiver/fsarchiver-0.8.6-r1.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-backup/fsarchiver/fsarchiver-0.8.6-r1.ebuild b/app-backup/fsarchiver/fsarchiver-0.8.6-r1.ebuild
new file mode 100644
index 00000000000..2323bfaedc1
--- /dev/null
+++ b/app-backup/fsarchiver/fsarchiver-0.8.6-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
+HOMEPAGE="https://www.fsarchiver.org"
+SRC_URI="https://github.com/fdupoux/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug lz4 lzma lzo static +zstd"
+
+CDEPEND="dev-libs/libgcrypt:0=
+ >=sys-fs/e2fsprogs-1.41.4
+ lz4? ( app-arch/lz4 )
+ lzma? ( >=app-arch/xz-utils-4.999.9_beta )
+ lzo? ( >=dev-libs/lzo-2.02 )
+ zstd? ( app-arch/zstd )
+"
+DEPEND="${CDEPEND}
+ static? (
+ app-arch/bzip2[static-libs]
+ dev-libs/libgcrypt:0=[static-libs]
+ dev-libs/libgpg-error[static-libs]
+ sys-apps/util-linux[static-libs]
+ >=sys-fs/e2fsprogs-1.41.4[static-libs]
+ sys-libs/zlib[static-libs]
+ lz4? ( app-arch/lz4[static-libs] )
+ lzma? ( app-arch/xz-utils[static-libs] )
+ lzo? ( dev-libs/lzo[static-libs] )
+ zstd? ( app-arch/zstd[static-libs] )
+ )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am \
+ || die "seding failed"
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug devel)
+ $(use_enable lz4)
+ $(use_enable lzma)
+ $(use_enable lzo)
+ $(use_enable static)
+ $(use_enable zstd)
+ )
+ econf "${myeconfargs[@]}"
+}