You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=7
|
||
8 years ago
|
|
||
8 years ago
|
inherit autotools
|
||
8 years ago
|
|
||
|
DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
|
||
4 years ago
|
HOMEPAGE="https://www.fsarchiver.org"
|
||
8 years ago
|
SRC_URI="https://github.com/fdupoux/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="amd64 x86"
|
||
6 years ago
|
IUSE="debug lz4 lzma lzo static zstd"
|
||
8 years ago
|
|
||
6 years ago
|
CDEPEND="dev-libs/libgcrypt:0=
|
||
8 years ago
|
>=sys-fs/e2fsprogs-1.41.4
|
||
6 years ago
|
lz4? ( app-arch/lz4 )
|
||
8 years ago
|
lzma? ( >=app-arch/xz-utils-4.999.9_beta )
|
||
|
lzo? ( >=dev-libs/lzo-2.02 )
|
||
6 years ago
|
zstd? ( app-arch/zstd )
|
||
|
"
|
||
|
DEPEND="${CDEPEND}
|
||
|
static? (
|
||
|
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] )
|
||
|
)"
|
||
4 years ago
|
RDEPEND="${DEPEND}"
|
||
8 years ago
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am \
|
||
|
|| die "seding failed"
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
7 years ago
|
local myeconfargs=(
|
||
6 years ago
|
$(use_enable debug devel)
|
||
|
$(use_enable lz4)
|
||
8 years ago
|
$(use_enable lzma)
|
||
|
$(use_enable lzo)
|
||
|
$(use_enable static)
|
||
6 years ago
|
$(use_enable zstd)
|
||
8 years ago
|
)
|
||
|
econf "${myeconfargs[@]}"
|
||
8 years ago
|
}
|