2022-04-05 09:29:33 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2010-05-09 08:07:32 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2021-06-30 18:45:43 +02:00
|
|
|
EAPI="6"
|
2010-05-09 08:07:32 +02:00
|
|
|
|
|
|
|
inherit eutils autotools db-use
|
|
|
|
|
|
|
|
|
2016-01-05 21:04:10 +01:00
|
|
|
SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.orig.tar.gz
|
|
|
|
https://alioth.debian.org/frs/download.php/file/4109/${PN}_${PV}.orig.tar.gz"
|
2010-05-09 08:07:32 +02:00
|
|
|
DESCRIPTION="Debian repository creator and maintainer application"
|
|
|
|
HOMEPAGE="http://packages.debian.org/reprepro"
|
|
|
|
DEPEND="app-arch/bzip2
|
|
|
|
app-arch/gzip
|
|
|
|
app-arch/libarchive
|
|
|
|
app-crypt/gpgme
|
|
|
|
dev-libs/libgpg-error
|
|
|
|
>=sys-libs/db-4.3"
|
|
|
|
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
|
|
IUSE="bzip2"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
src_prepare() {
|
2021-06-30 18:45:43 +02:00
|
|
|
eapply "${FILESDIR}"/${PN}-4.1.2-gpgme-header-check-1.patch
|
2010-05-09 08:07:32 +02:00
|
|
|
# epatch "${FILESDIR}"/${PN}-3.8.1-db-4_5-1.patch
|
2021-06-30 18:45:43 +02:00
|
|
|
default
|
2010-05-09 08:07:32 +02:00
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local myconf="--with-libarchive=yes"
|
|
|
|
use bzip2 && myconf="${myconf} --with-libbz2=yes" || myconf="${myconf} --with-libbz2=no"
|
|
|
|
econf ${myconf} || die "econf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install
|
|
|
|
}
|