net-misc/ipcalc-ng - 1.0.3 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/ipcalc-ng-1.0.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/ipcalc-ng-1.0.3

Or alternatively:

emerge --autounmask-write -a =net-misc/ipcalc-ng-1.0.3

Package Information

Description:
Modern IPv4/IPv6 ipcalc tool
Homepage:
https://gitlab.com/ipcalc/ipcalc
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.0.3 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Modern IPv4/IPv6 ipcalc tool"
HOMEPAGE="https://gitlab.com/ipcalc/ipcalc"
MY_P="ipcalc-${PV}"
SRC_URI="
	https://gitlab.com/ipcalc/ipcalc/-/archive/${PV}/${MY_P}.tar.bz2
	https://dev.gentoo.org/~floppym/dist/ipcalc.1-1.0.2.bz2
"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="geoip"

DEPEND="
	geoip? ( dev-libs/libmaxminddb )
"
RDEPEND="${DEPEND}
	!net-misc/ipcalc
"

src_configure() {
	local emesonargs=(
		$(meson_feature geoip use_maxminddb)
		-Duse_geoip=disabled
		-Duse_runtime_linking=disabled
	)
	meson_src_configure
}

src_install() {
	meson_src_install
	newman "${WORKDIR}/ipcalc.1-1.0.2" ipcalc.1
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/ipcalc-ng | euse -E <flag> -p net-misc/ipcalc-ng | euse -D <flag> -p net-misc/ipcalc-ng

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	geoip? ( dev-libs/libmaxminddb )

RDEPEND

	geoip? ( dev-libs/libmaxminddb )

	!net-misc/ipcalc

Manifest for 1.0.3

Type File Size Source URLs
DIST ipcalc-1.0.3.tar.bz2 46303 bytes https://gitlab.com/ipcalc/ipcalc/-/archive/1.0.3/ipcalc-1.0.3.tar.bz2
DIST ipcalc.1-1.0.2.bz2 2821 bytes https://dev.gentoo.org/~floppym/dist/ipcalc.1-1.0.2.bz2