blob: 3dbe9e360cc67e5f4d023cf0d3520dad8dee27f9 (
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
31
32
33
34
35
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
DESCRIPTION="Computes changes between binary or text files and creates deltas"
HOMEPAGE="https://github.com/jmacd/xdelta/"
SRC_URI="https://github.com/jmacd/xdelta/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/glib-2
>=virtual/zlib-1.1.4:=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
append-flags -fPIC
cmake_src_configure
}
|