summaryrefslogtreecommitdiff
blob: cac54a299ae013f69b755fb1938ab250dbf8799f (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-2012 Gentoo Foundation
# Copyright 2015-2015 Quentin Heath
# Distributed under the terms of the GNU General Public License v2

EAPI="4"

inherit flag-o-matic

DESCRIPTION="Debian APT repository creator and maintainer application"
HOMEPAGE="http://packages.debian.org/reprepro"
SRC_URI="https://alioth.debian.org/frs/download.php/file/4109/${PN}_${PV}.orig.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="archive bzip2 gpgme"

DEPEND=">=sys-libs/db-4.3
	sys-libs/zlib
	gpgme? ( app-crypt/gpgme dev-libs/libgpg-error )
	archive? ( app-arch/libarchive )"
RDEPEND="${DEPEND}"

src_configure() {
	use gpgme && append-cppflags -I/usr/include/gpgme
	econf \
		$(use_with gpgme libgpgme) \
		$(use_with archive libarchive) \
		$(use_with bzip2 libbz2)
}