tibou needs nct6687d

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2024-05-21 22:24:48 +02:00
parent 9c24e97087
commit 820a1fc9dc
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -12,11 +12,11 @@ PKG=$TMP/pkg-$PRGNAM
REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM
GITHUB_REPO=Fred78290/nct6687d
VERSION=${VERSION:-"latest"}
VERSION=${VERSION:-"trunk"}
KERNEL_VERSION=$(uname -r)
ARCH=$(uname -m)
BUILD=1
BUILD=3
PREFIX=/usr
@ -29,7 +29,6 @@ mkdir -p $PKG
cd $REPOSITORY
git pull --all
# nettoyage préalable
rm -fr $PKG $TMP/$PRGNAM
cp -R $REPOSITORY $TMP/$PRGNAM
@ -54,6 +53,14 @@ make
mkdir -p $PKG/lib/modules/${KERNEL_VERSION}/kernel/drivers/hwmon/
cp ${KERNEL_VERSION}/nct6687.ko $PKG/lib/modules/${KERNEL_VERSION}/kernel/drivers/hwmon/
mkdir -p $PKG/etc/modprobe.d/
cat <<EOF > $PKG/etc/modprobe.d/blacklist_nct6683.conf
# Do not load the nct6683 module on boot.
blacklist nct6683
# uncomment the line below if blacklisting is not sufficient
# install nct6683 /bin/true
EOF
mkdir -p $PKG/usr/doc/$PRGNAM/
cp -R images/ LICENSE *.md $PKG/usr/doc/$PRGNAM/