summaryrefslogtreecommitdiff
blob: c8a920bb448cd8abe620c38f4554bd2c9f45df36 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/balance/balance-3.54.ebuild,v 1.2 2012/06/18 00:26:09 mr_bones_ Exp $

EAPI=4

inherit eutils toolchain-funcs

DESCRIPTION="TCP Load Balancing Port Forwarder"
HOMEPAGE="http://www.inlab.de/balance.html"
SRC_URI="http://www.inlab.de/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"

DEPEND="doc? ( app-text/ghostscript-gpl
		sys-apps/groff )"
RDEPEND=""

src_prepare() {
	epatch "${FILESDIR}"/${P}-Makefile.patch
	tc-export CC
	use doc || touch balance.pdf
}

src_install() {
	default
	use doc && dodoc balance.pdf
}