diff options
author | Andrew Strong <andrew.david.strong@gmail.com> | 2020-01-02 20:15:07 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2020-01-02 23:33:51 -0600 |
commit | 899d1f4beafee4ca45354ee1f03b148e1fcb12f4 (patch) | |
tree | 00bf6687ac4e35937246923775a265749f11ba51 /libraries/nv-codec-headers/nv-codec-headers.SlackBuild | |
parent | 530afba0e73e57df68f64261e40e219af6a45b3d (diff) |
libraries/nv-codec-headers: Updated for version 9.1.23.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/nv-codec-headers/nv-codec-headers.SlackBuild')
-rw-r--r-- | libraries/nv-codec-headers/nv-codec-headers.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild b/libraries/nv-codec-headers/nv-codec-headers.SlackBuild index 810ad2304aaef..8665910e350ad 100644 --- a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild +++ b/libraries/nv-codec-headers/nv-codec-headers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nv-codec-headers -# Copyright 2018-2019, Andrew Strong, Blue Mountains, Australia. +# Copyright 2018-2020, Andrew Strong, Blue Mountains, Australia. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=nv-codec-headers # Note that the version number is contained # within the file ffnvcodec.pc.in: -VERSION=${VERSION:-9.0.18.2} +VERSION=${VERSION:-9.1.23.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,6 +33,7 @@ if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -67,12 +68,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -# Adjust Makefile for Slackware needs: -sed -i 's#PREFIX = /usr/local#PREFIX = /usr#' Makefile -sed -i "s#LIBDIR = lib#LIBDIR = lib${LIBDIRSUFFIX}#" Makefile - -make -make install DESTDIR=$PKG +make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX} +make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX} install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README $PKG/usr/doc/$PRGNAM-$VERSION |