41 lines
785 B
Bash
41 lines
785 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools db-use
|
|
|
|
SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.orig.tar.xz
|
|
https://alioth.debian.org/frs/download.php/file/4109/${PN}_${PV}.orig.tar.xz"
|
|
DESCRIPTION="Debian repository creator and maintainer application"
|
|
HOMEPAGE="http://packages.debian.org/reprepro"
|
|
IUSE="gpg"
|
|
|
|
DEPEND="
|
|
app-arch/libarchive:0=
|
|
sys-libs/db:=
|
|
sys-libs/zlib
|
|
gpg? ( app-crypt/gpgme:1= dev-libs/libgpg-error )
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
--with-libarchive \
|
|
"$(use_with gpg libgpgme)"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
}
|