diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-11 14:17:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-11 14:17:10 +0100 |
commit | 5adfd733728a4f14df5665f4c2a604a7356e5f19 (patch) | |
tree | f2938c4a08576b45508b02481edfec55eac3ac8b /net-misc/ndisc6/ndisc6-1.0.7.ebuild | |
parent | fbba40085f5d1591a67b49f5aa48b4071b7560f1 (diff) |
gentoo auto-resync : 11:06:2023 - 14:17:09
Diffstat (limited to 'net-misc/ndisc6/ndisc6-1.0.7.ebuild')
-rw-r--r-- | net-misc/ndisc6/ndisc6-1.0.7.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/ndisc6/ndisc6-1.0.7.ebuild b/net-misc/ndisc6/ndisc6-1.0.7.ebuild new file mode 100644 index 000000000000..d0d3a2b1bbd4 --- /dev/null +++ b/net-misc/ndisc6/ndisc6-1.0.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="IPv6 diagnostic tools" +HOMEPAGE="https://www.remlab.net/ndisc6/" +SRC_URI="https://www.remlab.net/files/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~x64-macos" +IUSE="debug" + +BDEPEND="dev-lang/perl + sys-devel/gettext" + +src_configure() { + local args=( + --localstatedir="${EPREFIX}"/var + $(use_enable debug assert) + ) + econf "${args[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + rm -r "${ED}/var" || die + + newinitd "${FILESDIR}"/rdnssd.rc-2 rdnssd + newconfd "${FILESDIR}"/rdnssd.conf rdnssd + + exeinto /etc/rdnssd + newexe "${FILESDIR}"/resolvconf-2 resolvconf + dodoc AUTHORS ChangeLog NEWS README +} |