summaryrefslogtreecommitdiff
blob: 4112884600d0a0a7d87482fb9c821fef3c5e8e66 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Delta compression suite for using/generating binary patches"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc ~x86 ~amd64-linux"

DEPEND=">=dev-util/diffball-0.7"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${PN}"

PATCHES=(
	"${FILESDIR}"/${P}-make.patch
	"${FILESDIR}"/${P}-gcc5.patch
	"${FILESDIR}"/${P}-symlink.patch
)

src_configure() {
	tc-export CC
}

src_install() {
	dobin tarsync #make install doesn't support prefix
	einstalldocs
}