diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2022-05-28 00:25:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-28 09:11:39 +0700 |
commit | 442350a685682e4c48f85a8072e45e5c19bebe99 (patch) | |
tree | f4eebdc0fcef9477c5304cb6b1de8d04921bfbb1 | |
parent | c32a4bdbd6b2a2f20ea69ae1178fe6df12d6da87 (diff) |
system/nvidia-legacy470-kernel: Updated for version 470.129.06.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild | 16 | ||||
-rw-r--r-- | system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info | 6 |
2 files changed, 12 insertions, 10 deletions
diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild index 5087f69c0915..c96cd1c32906 100644 --- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild +++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild @@ -29,7 +29,7 @@ # see nvidia-driver/changelog.txt PRGNAM=nvidia-legacy470-kernel -VERSION=${VERSION:-470.103.01} +VERSION=${VERSION:-470.129.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,16 +56,16 @@ else exit 1 fi -unset ARCH - # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information # could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + echo "$PRGNAM-$PKGVER-$TARGET-$BUILD$TAG.$PKGTYPE" exit 0 fi +unset ARCH + SRCNAM=NVIDIA-Linux-$TARGET-${VERSION} CWD=$(pwd) @@ -87,8 +87,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; (cd kernel || exit 1 -# CC=gcc suppresses an otherwise harmless "compiler mismatch" message - CC=gcc make SYSSRC=$KERNELPATH module || exit 1 +# CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch" +# message. If you custom-build your kernel with clang, +# then pass CC=clang to this script. + CC=${CC:-gcc} make SYSSRC=$KERNELPATH module || exit 1 ) mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video @@ -108,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$TARGET-$BUILD$TAG.$PKGTYPE diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info index 29660553e197..62f71889b9a1 100644 --- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info +++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info @@ -1,10 +1,10 @@ PRGNAM="nvidia-legacy470-kernel" -VERSION="470.103.01" +VERSION="470.129.06" HOMEPAGE="http://www.nvidia.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run" -MD5SUM_x86_64="f4ea68e482f51f7b358c8bec6162c27a" +DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.129.06/NVIDIA-Linux-x86_64-470.129.06.run" +MD5SUM_x86_64="1a9c8ad241e693dcdafc62c37e7c1cdc" REQUIRES="" MAINTAINER="Lenard Spencer" EMAIL="lenardrspencer@gmail.com" |