You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
737 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/balance/balance-3.40.ebuild,v 1.2 2009/12/26 17:41:50 pva Exp $
inherit 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 )"
RDEPEND=""
src_compile() {
use doc || touch balance.pdf
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
}
src_install() {
dosbin balance || die
doman balance.1
use doc && dodoc balance.pdf
dodir /var/run/balance
fperms 1755 /var/run/balance
}