summaryrefslogtreecommitdiff
path: root/net-misc/pen/pen-0.34.1-r1.ebuild
blob: 8c9b34137f163e517ab50b5a56f56de8834f4fc0 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="TCP Load Balancing Port Forwarder"
HOMEPAGE="http://siag.nu/pen/"
SRC_URI="http://siag.nu/pub/${PN}/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="geoip ssl"

RDEPEND="
	geoip? ( dev-libs/geoip )
	ssl? ( dev-libs/openssl:= )
"
DEPEND="${RDEPEND}"

src_prepare() {
	default

	# Clang 16, bug #900304
	eautoreconf
}

src_configure() {
	econf --with-docdir=/usr/share/doc/${PF} \
		$(use_with geoip) \
		$(use_with ssl)
}