mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/r8168: Fixed SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
e635054622
commit
4d95215bac
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=r8168
|
||||
VERSION=${VERSION:-8.043.01}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-4}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -41,7 +41,7 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
KERNEL=${KERNEL:-$(uname -r)}
|
||||
PKGVER=${VERSION}_$KERNEL
|
||||
PKGVER=$(printf %s ${VERSION}_$KERNEL | tr - _)
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
|
@ -81,7 +81,7 @@ install -Dm0644 src/$PRGNAM.ko \
|
|||
$PKG/lib/modules/$KERNEL/kernel/drivers/net/ethernet/realtek/$PRGNAM.ko
|
||||
|
||||
mkdir -p $PKG/etc/modprobe.d
|
||||
echo "blacklist r8169" > $PKG/etc/modprobe.d/r8169_blacklist.conf.new
|
||||
echo 'blacklist r8169' > $PKG/etc/modprobe.d/r8169_blacklist.conf.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
|
||||
cp -a README $PKG/usr/doc/$PRGNAM-$PKGVER
|
||||
|
|
Loading…
Reference in a new issue