2022-11-19 21:49:12 +01:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
EAPI=8
|
2022-11-19 21:49:12 +01:00
|
|
|
|
|
|
|
EGIT_REPO_URI="https://github.com/pasis/ipx-utils.git"
|
|
|
|
|
|
|
|
inherit autotools git-r3
|
|
|
|
|
|
|
|
DESCRIPTION="The IPX Utilities"
|
|
|
|
HOMEPAGE="https://github.com/pasis/ipx-utils"
|
|
|
|
|
|
|
|
LICENSE="ipx-utils GPL-2" # GPL-2 only for init script
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE=""
|
|
|
|
RDEPEND="net-misc/ipx-modules"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf --bindir="${EPREFIX}"/sbin
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
newconfd "${FILESDIR}"/ipx.confd ipx
|
|
|
|
newinitd "${FILESDIR}"/ipx.init ipx
|
|
|
|
default
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
elog "IPX support was removed in Linux 4.18. For newer kernels build the ipx module from sources: https://github.com/pasis/ipx"
|
|
|
|
}
|