# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson DESCRIPTION="A modern IPv4/IPv6 ipcalc tool" HOMEPAGE="https://gitlab.com/ipcalc/ipcalc" SRC_URI="https://gitlab.com/ipcalc/ipcalc/-/archive/${PV}/ipcalc-${PV}.tar.bz2" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64" IUSE="+man geoip geoip2" RDEPEND=" geoip? ( dev-libs/geoip ) geoip2? ( dev-libs/libmaxminddb ) " DEPEND="${RDEPEND}" BDEPEND=" man? ( app-text/ronn-ng ) " src_configure() { local emesonargs=( $(meson_feature geoip use_geoip) $(meson_feature geoip2 use_maxminddb) -Duse_runtime_linking=disabled ) meson_src_configure }