summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2016-03-21 20:52:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-25 20:04:15 +0700
commitf6edd270d95bcff01186a308a17395b6cbddca3a (patch)
treecdf08283a242a14a6bcaccd8c0eff74aa34d5dde /system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
parent83d045008a224675c4a3df7347fe7c924133c3df (diff)
downloadslackbuilds-f6edd270d95bcff01186a308a17395b6cbddca3a.tar.gz
system/nvidia-legacy340-driver: Removed nvidia-installer, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild')
-rw-r--r--system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild18
1 files changed, 0 insertions, 18 deletions
diff --git a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
index 395ed39c5a..a6ca6cdb29 100644
--- a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
+++ b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
@@ -71,8 +71,6 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf nvidia-installer-$VERSION
-tar xvf $CWD/nvidia-installer-$VERSION.tar.bz2
rm -rf nvidia-settings-$VERSION
tar xvf $CWD/nvidia-settings-$VERSION.tar.bz2
rm -rf nvidia-xconfig-$VERSION
@@ -194,22 +192,6 @@ if [ "$ARCH" = "x86_64" -a "${CPROXY}" = "yes" ]; then
install -m 644 nvidia-cuda-mps-control.1.gz $PKG/usr/man/man1/
fi
-# Compiling nvidia-installer from source
-# Not really needed for this SBo package
-cd $TMP/nvidia-installer-$VERSION
- chown -R root:root .
- find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
- CFLAGS="$SLKCFLAGS" LDFLAGS="-lz" make
-
- install -m 755 _out/Linux_$TARGET/nvidia-installer $PKG/usr/bin/
- install -m 644 _out/Linux_$TARGET/nvidia-installer.1.gz $PKG/usr/man/man1/
-cd -
-
# Compiling nvidia-settings from source
cd $TMP/nvidia-settings-$VERSION
chown -R root:root .