summaryrefslogtreecommitdiff
path: root/dev-util/archdiff/archdiff-1.1.6-r1.ebuild
blob: ce72aca5fd839e72723aa73ebb9d83841b5d1975 (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Utility to view the differences between two source code archives"
HOMEPAGE="https://frigidcode.com/code/archdiff/"
SRC_URI="https://frigidcode.com/code/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+bzip2 +lzma +zlib"

DEPEND="app-arch/libarchive[bzip2?,lzma?,zlib(+)?]
	dev-libs/rremove"
RDEPEND="${DEPEND}
	app-misc/colordiff"

src_configure() {
	econf \
		$(use_enable bzip2) \
		$(use_enable zlib gzip) \
		$(use_enable lzma)
}