aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorm. budiman <mbembi@operamail.com>2015-02-22 22:54:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-22 22:54:40 +0700
commitf0a71fbca3338c05686c587b1843f52f3a360a43 (patch)
tree7737579630520bfd3ed6ff87b638d95aacbe3c5e /network
parent037cefa364bac072c81fc63baf2b265d54838f5f (diff)
network/rtl8188eu: Added (rtl-8188eu driver).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/rtl8188eu/README4
-rw-r--r--network/rtl8188eu/doinst.sh3
-rw-r--r--network/rtl8188eu/rtl8188eu.Slackbuild91
-rw-r--r--network/rtl8188eu/rtl8188eu.info10
-rw-r--r--network/rtl8188eu/slack-desc19
5 files changed, 127 insertions, 0 deletions
diff --git a/network/rtl8188eu/README b/network/rtl8188eu/README
new file mode 100644
index 0000000000000..b97bf1a9d3658
--- /dev/null
+++ b/network/rtl8188eu/README
@@ -0,0 +1,4 @@
+rtl8188eu
+=========
+
+Repository for the stand-alone RTL8188EU driver.
diff --git a/network/rtl8188eu/doinst.sh b/network/rtl8188eu/doinst.sh
new file mode 100644
index 0000000000000..b17f2a6739627
--- /dev/null
+++ b/network/rtl8188eu/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null
+fi
diff --git a/network/rtl8188eu/rtl8188eu.Slackbuild b/network/rtl8188eu/rtl8188eu.Slackbuild
new file mode 100644
index 0000000000000..2a72132ee6d6e
--- /dev/null
+++ b/network/rtl8188eu/rtl8188eu.Slackbuild
@@ -0,0 +1,91 @@
+#!/bin/sh
+# Slackware build script for rtl8188eu
+#
+# Copyright (c) 2015 m.budiman <mbembi@operamail.com>
+# All rights reserved.
+#
+# Permission to use, copy, modify, and distribute this software for
+# any purpose with or without fee is hereby granted, provided that
+# the above copyright notice and this permission notice appear in all
+# copies.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+# -----------------------------------------------------------------------------
+
+PRGNAM=rtl8188eu
+VERSION=${VERSION:-f760caeb}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+KERNEL=${KERNEL:-$(uname -r)}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-master
+unzip $CWD/$PRGNAM-master.zip
+cd $PRGNAM-master
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make
+
+install -D -m 0644 rtl8188eufw.bin $PKG/lib/firmware/rtlwifi/rtl8188eufw.bin
+install -D -m 0644 rtl8188eufw.bin $PKG/lib/firmware/rtl8188eufw.bin
+install -D -m 0644 8188eu.ko $PKG/lib/modules/$KERNEL/kernel/drivers/net/wireless/8188eu.ko
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+cat $CWD/$PRGNAM.Slackbuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.Slackbuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/rtl8188eu/rtl8188eu.info b/network/rtl8188eu/rtl8188eu.info
new file mode 100644
index 0000000000000..4aa312760689d
--- /dev/null
+++ b/network/rtl8188eu/rtl8188eu.info
@@ -0,0 +1,10 @@
+PRGNAM="rtl8188eu"
+VERSION="f760caeb"
+HOMEPAGE="https://github.com/lwfinger/"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/rtl8188eu/rtl8188eu-master.zip"
+MD5SUM="90913d9890a9e174efcd9b4aefc0f9f4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="m. budiman"
+EMAIL="mbembi@operamail.com"
diff --git a/network/rtl8188eu/slack-desc b/network/rtl8188eu/slack-desc
new file mode 100644
index 0000000000000..383e6c4542ef5
--- /dev/null
+++ b/network/rtl8188eu/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+rtl8188eu: rtl-8188eu (rtl-8188eu driver)
+rtl8188eu:
+rtl8188eu: Driver for Realtek wireless network adapters using the rtl8188eu
+rtl8188eu: chipsets.
+rtl8188eu:
+rtl8188eu: For more information, visit the project's home page at:
+rtl8188eu:
+rtl8188eu: https://github.com/lwfinger/rtl8188eu
+rtl8188eu:
+rtl8188eu:
+rtl8188eu: