blob: 26eea241fa3cf10d64fb2d91d56ea767f35acaa5 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils autotools
DESCRIPTION=""
HOMEPAGE=""
SRC_URI="mirror://debian/pool/main/r/reprepro/reprepro_${PV}.orig.tar.gz"
LICENSE="GPL-v2"
SLOT="0"
KEYWORDS="~x86"
IUSE="bzip2"
DEPEND="app-crypt/gnupg
~sys-libs/db-4.5*
app-arch/libarchive
bzip2? ( app-arch/bzip2 )
app-crypt/gpgme"
RDEPEND="${DEPEND}
app-arch/apt"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-db4.5.patch
epatch "${FILESDIR}"/${P}-gpgme.patch
eautoreconf
}
src_compile() {
cd "${S}"
econf \
--with-libdb=4.5 \
--with-gpgme=/usr/include/gpgme || die "econf failed!"
emake || die "emake failed!"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed!"
dodoc ChangeLog TODO README NEWS
}
|