29 lines
551 B
Bash
29 lines
551 B
Bash
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit git-r3 linux-info linux-mod
|
||
|
|
||
|
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"
|
||
|
|
||
|
BUILD_TARGETS="build"
|
||
|
CONFIG_CHECK="NET"
|
||
|
MODULE_NAMES="ipx(ipx:${S}) p8023(ipx:${S})"
|
||
|
|
||
|
src_compile() {
|
||
|
BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR} M=${S}"
|
||
|
|
||
|
linux-mod_src_compile
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
linux-mod_src_install
|
||
|
}
|