aboutsummaryrefslogtreecommitdiff
blob: 2f780fc2da0615e40c3afcd41867537790d60c82 (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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit autotools eutils

DESCRIPTION="Generic Connection Brokering for communications over firewall/NAT"
HOMEPAGE="http://www.cs.wisc.edu/condor/gcb"
SRC_URI="${HOMEPAGE}/download/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

src_prepare() {
	epatch "${FILESDIR}"/${P}-shared.patch
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install
	dodoc AUTHORS ChangeLog NOTICE.txt doc/protocol.txt
	if use doc; then
		insinto /usr/share/doc/${PF}
		doins doc/*.pdf
	fi
}