Switch from hard-coded kernel version values to KERNEL_VERSION variable.
This commit is contained in:
parent
f1d809a0b7
commit
1d97371e7e
@ -12,12 +12,13 @@ detect_version
|
|||||||
|
|
||||||
DESCRIPTION="Inferencium Kernel source code."
|
DESCRIPTION="Inferencium Kernel source code."
|
||||||
HOMEPAGE="https://inferencium.net/"
|
HOMEPAGE="https://inferencium.net/"
|
||||||
SRC_URI="https://git.inferencium.net/Inferencium/inf-kernel/archive/inf-kernel-0.0.0.0.tar.gz"
|
KERNEL_VERSION="0.0.0.0"
|
||||||
|
SRC_URI="https://git.inferencium.net/Inferencium/inf-kernel/archive/inf-kernel-${KERNEL_VERSION}.tar.gz"
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
default
|
default
|
||||||
|
|
||||||
mv "inf-kernel-0.0.0.0" "${P}" || die
|
mv "inf-kernel-${KERNEL_VERSION}" "${P}" || die
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user