app-backup/fsarchiver: add 0.8.8

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2024-12-18 09:09:06 -06:00
parent c1c94104c8
commit 5901bce7ab
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST fsarchiver-0.8.7.tar.gz 274350 BLAKE2B c7989a0323c1cebc7add9653d70b5b3d9f32130602ae469ec6fb00834a1af9a0b2af1fb21747d8785505068b2224fe7cd1cde9dfe9b6be4bce87f398b2a18ec7 SHA512 6f7099c9f961f78fc23e6cee57dfb109f0e2e00a707875175e37786ba0abb7a2e6330662f57a4122215c80dff63b8dc1b270690c0f8cc3bedbca83ab857c19b2
DIST fsarchiver-0.8.8.tar.gz 274997 BLAKE2B 516f6973308c17b2b2ed3add118b25713e51a0122071661005f8050557f42bb14cc5486114301a9ef92b671f66b8106da5c593bfd4d1512d978cbcd7b725462c SHA512 88d29e2caf33c11f987c3bd17345fa746854c1af7ba8a2d72edc753ed12439a1dedaba5205b440d50f8d58f50b2286ef2485fff8ef11a4136549cc492ffebf22

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2024 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[@]}"
}