aboutsummaryrefslogtreecommitdiff
blob: ba98c772150f51418b53a7045200ce9f62f939be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Fast block device sync with digest, designed to improve block-based backups."
HOMEPAGE="https://github.com/nethappen/blocksync-fast/"
SRC_URI="https://github.com/nethappen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+xxhash"

RDEPEND="
	>=dev-libs/libgcrypt-1.9.0:0=
	xxhash? ( >=dev-libs/xxhash-0.8 )"
DEPEND="${RDEPEND}"

src_configure() {
	eautoreconf
	econf $(use_with xxhash)
}

src_install() {
	DOCS=(README.md CHANGELOG.md LICENSE scripts)
	default_src_install
}