Add sys-kernel/inf-kernel version 0.0.13.13 ebuild.

This commit is contained in:
inference 2023-02-16 18:02:05 +00:00
parent 88d8e0d824
commit 81aa38e8e7
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M
2 changed files with 50 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST inf-kernel-0.0.12.12.tar.gz 220544135 BLAKE2B f3b1cd0ed5cb65a6a61bed80591f5650bea0338797654fcb186fb2831ec760ab7f4d23570e9db94a63dc4d0dad1a3b1334d307ee2150165ea645f4f1599c708a SHA512 c5dc5e8dd5d97593ca9f135a3424fbfcdfb20850373a94f1bd5fde3246458b43d773201cbce41df6ef2315051edf89d225f0e760e9fb3aa5ba9cc5c770b68232
DIST inf-kernel-0.0.13.13.tar.gz 220545485 BLAKE2B ce20b841c5dc413a832689267b2bf14625ef598db9cca5a72daafe8d3f75720191db8fd4596edfb32405766071f889bd4b02c96984832c76f89dba4655ae10cf SHA512 12964b2bb585ed537288b6cfb5b8a6f3502979bdaa8a0be9953be6f91507186345ea6faa40b46faf172c23d508786ed4203934b0e40171bc65e596ac8600b15b

View File

@ -0,0 +1,49 @@
# Copyright 1999-2022 Gentoo Authors, 2022-2023 Inference
# SPDX-License-Identifier: GPL-2.0-only
EAPI="8"
K_NOUSENAME="yes"
K_NOSETEXTRAVERSION="yes"
K_SECURITY_UNSUPPORTED="1"
ETYPE="sources"
inherit kernel-2
detect_version
DESCRIPTION="Inferencium Kernel source code."
HOMEPAGE="https://git.inferencium.net/Inferencium/inf-kernel/"
SRC_URI="https://git.inferencium.net/Inferencium/inf-kernel/archive/${P}.tar.gz"
S="${WORKDIR}/${PN}"
KEYWORDS="~amd64 ~arm64"
src_unpack() {
default
}
install_sources() {
local file
cd "${S}" || die
dodir /src/
einfo ">>> Copying source code ..."
file="$(find ${WORKDIR} -iname "docs" -type d)"
if [[ -n ${file} ]]; then
for file in $(find ${file} -type f); do
echo "${file//*docs\/}" >> "${S}"/patches.txt
echo "===================================================" >> "${S}"/patches.txt
cat ${file} >> "${S}"/patches.txt
echo "===================================================" >> "${S}"/patches.txt
echo "" >> "${S}"/patches.txt
done
fi
mv "${WORKDIR}"/inf-kernel* "${ED}"/src/${P} || die
if [[ -n ${UNIPATCH_DOCS} ]]; then
for i in ${UNIPATCH_DOCS}; do
dodoc "${T}"/${i}
done
fi
}