mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/nvidia-kernel: Updated for version 190.42
This commit is contained in:
parent
d43ed83776
commit
0d0af7cfc3
3 changed files with 25 additions and 12 deletions
|
@ -1,3 +1,3 @@
|
|||
|
||||
chroot . /sbin/depmod -a
|
||||
chroot . /sbin/depmod -a @KERNEL@ 2>/dev/null
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for nvidia-kernel
|
||||
|
||||
# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
|
||||
# Copyright 2007-2009 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -27,8 +27,7 @@
|
|||
KERNEL=${KERNEL:-$(uname -r)}
|
||||
KERNELPATH=${KERNELPATH:-/lib/modules/${KERNEL}/build}
|
||||
|
||||
VERSION=180.29
|
||||
SRCNAM=NVIDIA-Linux-x86-$VERSION-pkg0
|
||||
VERSION=190.42
|
||||
PRGNAM=nvidia-kernel
|
||||
PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
|
||||
|
||||
|
@ -36,9 +35,21 @@ ARCH=${ARCH:-i486}
|
|||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
TARGET="x86"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
TARGET="x86"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
TARGET="x86_64"
|
||||
fi
|
||||
|
||||
unset ARCH
|
||||
|
||||
SRCNAM=NVIDIA-Linux-$TARGET-$VERSION-pkg0
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=${PKG:-$TMP/package-$PKG_NAME}
|
||||
PKG=${PKG:-$TMP/package-$PRGNAM}
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -66,7 +77,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$TARGET-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="nvidia-kernel"
|
||||
VERSION="180.29"
|
||||
VERSION="190.42"
|
||||
HOMEPAGE="http://www.nvidia.com"
|
||||
DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/180.29/NVIDIA-Linux-x86-180.29-pkg0.run"
|
||||
MD5SUM="db9aa3683988b7b0872abae7182f5bc5"
|
||||
MAINTAINER="ppr:kut"
|
||||
DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/190.42/NVIDIA-Linux-x86-190.42-pkg0.run"
|
||||
MD5SUM="f94806feee87de756d14fe3e9bcaf05a"
|
||||
DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/190.42/NVIDIA-Linux-x86_64-190.42-pkg0.run"
|
||||
MD5SUM_x86_64="ae431ff849ec01446e6724f9fcfe3bb4"
|
||||
MAINTAINER="Heinz Wiesinger"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue