diff options
Diffstat (limited to 'network/r8168/r8168.SlackBuild')
-rw-r--r-- | network/r8168/r8168.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild index 6fbae1be99..1db7f31a43 100644 --- a/network/r8168/r8168.SlackBuild +++ b/network/r8168/r8168.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=r8168 VERSION=${VERSION:-8.043.01} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -80,13 +80,16 @@ make -C /lib/modules/$KERNEL/build \ 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 + mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER cp -a README $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 -cat $CWD/doinst.sh > $PKG/install/doinst.sh +sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |