summaryrefslogtreecommitdiff
blob: f411b56407c2f79186af5dbf19daec2a585153ac (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/archdiff/archdiff-1.1.4.ebuild,v 1.1 2012/02/24 06:36:21 radhermit Exp $

EAPI="4"

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 +gzip"

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

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