33 lines
581 B
Bash
33 lines
581 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit git-r3 linux-info linux-mod-r1
|
|
|
|
DESCRIPTION="IPX kernel module for Linux 4.18+"
|
|
HOMEPAGE="https://github.com/pasis/ipx/"
|
|
EGIT_REPO_URI="https://github.com/pasis/ipx.git"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
pkg_setup() {
|
|
linux-mod-r1_pkg_setup
|
|
}
|
|
|
|
src_compile() {
|
|
local modlist=(
|
|
ipx=ipx:${S}:${S}:build
|
|
)
|
|
|
|
KV_EXTRA_MAKE+=" KERNELDIR=${KV_OUT_DIR} M=${S}"
|
|
|
|
linux-mod-r1_src_compile
|
|
}
|
|
|
|
src_install() {
|
|
linux-mod-r1_src_install
|
|
}
|