gentoo-ebuilds/net-misc/ipcalc/ipcalc-0.42_p2.ebuild
Viorel Munteanu 3683e96a2e
net-misc/ipcalc: Stabilize 0.42_p2 arm64, #937242
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-11-08 14:09:47 +02:00

29 lines
754 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="IP Calculator prints broadcast/network/etc for an IP address and netmask"
HOMEPAGE="http://jodies.de/ipcalc"
SRC_URI="
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
"
S="${WORKDIR}"/${PN}-0.5
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND=">=dev-lang/perl-5.6.0"
src_prepare() {
eapply "${WORKDIR}"/debian/patches/*.patch
eapply_user
}
src_install() {
dobin ${PN}
doman ${PN}.1
dodoc changelog contributors README.md
}