1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
9 HOMEPAGE="http://www.fsarchiver.org"
10 SRC_URI="https://github.com/fdupoux/${PN}/releases/download/${PV}/${P}.tar.gz"
15 IUSE="debug lz4 lzma lzo static zstd"
17 CDEPEND="dev-libs/libgcrypt:0=
18 >=sys-fs/e2fsprogs-1.41.4
20 lzma? ( >=app-arch/xz-utils-4.999.9_beta )
21 lzo? ( >=dev-libs/lzo-2.02 )
22 zstd? ( app-arch/zstd )
26 lz4? ( app-arch/lz4[static-libs] )
27 lzma? ( app-arch/xz-utils[static-libs] )
28 lzo? ( dev-libs/lzo[static-libs] )
29 zstd? ( app-arch/zstd[static-libs] )
35 sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am \
36 || die "seding failed"
42 $(use_enable debug devel)
49 econf "${myeconfargs[@]}"