diff options
author | 2025-02-24 20:07:48 +0100 | |
---|---|---|
committer | 2025-02-24 20:07:48 +0100 | |
commit | 35ea66f0a9fceca926d678be96bb7055afcaf6eb (patch) | |
tree | c674773c4df4414b33af90d5318dc8f9aababe97 /net-misc/ipcalc/ipcalc-1.0.3.ebuild | |
parent | www-servers/static-web-server: new package, add 2.36.0 (diff) | |
download | ebuilds-trunk.tar.xz |
Diffstat (limited to 'net-misc/ipcalc/ipcalc-1.0.3.ebuild')
-rw-r--r-- | net-misc/ipcalc/ipcalc-1.0.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/ipcalc/ipcalc-1.0.3.ebuild b/net-misc/ipcalc/ipcalc-1.0.3.ebuild new file mode 100644 index 0000000..c204130 --- /dev/null +++ b/net-misc/ipcalc/ipcalc-1.0.3.ebuild @@ -0,0 +1,33 @@ +# 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 +} |