aboutsummaryrefslogtreecommitdiff
path: root/system/evdi-kernel/evdi-kernel.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 15:49:03 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 15:47:03 +0700
commitb1be18baea384758b1dcee8ffceac2019959d2d6 (patch)
tree4c93da23f056ea34594ae76dd607769c7bb41996 /system/evdi-kernel/evdi-kernel.SlackBuild
parent0dd7c87c4d860993be2d3410fab2bb295b9b944d (diff)
system/evdi-kernel: Upgraded for version 1.10.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/evdi-kernel/evdi-kernel.SlackBuild')
-rw-r--r--system/evdi-kernel/evdi-kernel.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/system/evdi-kernel/evdi-kernel.SlackBuild b/system/evdi-kernel/evdi-kernel.SlackBuild
index 0fde29c27602..8ca2df51ffef 100644
--- a/system/evdi-kernel/evdi-kernel.SlackBuild
+++ b/system/evdi-kernel/evdi-kernel.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=evdi-kernel
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,18 +69,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-pushd module
-env -u ARCH make KERN_DIR=${KERNELPATH}
-popd
+(
+ cd module
+ env -u ARCH make KVER=$KERNEL KDIR=$KERNELPATH
+)
mkdir -p $PKG/lib/modules/$KERNEL/misc
install -m 0644 module/evdi.ko $PKG/lib/modules/$KERNEL/misc/
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cp -a \
README.md docs/{details.md,index.md,quickstart.md} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ $PKG/usr/doc/$PRGNAM-$PKGVER
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc