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.
gentoo-overlay/net-libs/net6/net6-1.3.14-r2.ebuild

45 lines
768 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="Network access framework for IPv4/IPv6 written in C++"
HOMEPAGE="http://gobby.0x539.de/"
SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ppc x86"
IUSE="nls"
BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
RDEPEND="
dev-libs/libsigc++:2
>=net-libs/gnutls-1.2.10:=
"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README )
PATCHES=(
"${FILESDIR}/${P}-gnutls-3.4.patch"
)
src_configure() {
append-cxxflags -std=c++11
econf \
--disable-static \
$(use_enable nls)
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}