summaryrefslogtreecommitdiff
path: root/network/rt3xxx
diff options
context:
space:
mode:
Diffstat (limited to 'network/rt3xxx')
-rw-r--r--network/rt3xxx/doinst.sh2
-rw-r--r--network/rt3xxx/rt3xxx.SlackBuild25
-rw-r--r--network/rt3xxx/rt3xxx.info4
-rw-r--r--network/rt3xxx/slack-desc2
4 files changed, 17 insertions, 16 deletions
diff --git a/network/rt3xxx/doinst.sh b/network/rt3xxx/doinst.sh
index cf9b4e4735..e304c1ac7b 100644
--- a/network/rt3xxx/doinst.sh
+++ b/network/rt3xxx/doinst.sh
@@ -11,5 +11,5 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-depmod -a
+depmod -a @KERNEL@
diff --git a/network/rt3xxx/rt3xxx.SlackBuild b/network/rt3xxx/rt3xxx.SlackBuild
index a81b8f34d5..dd7fc21e8b 100644
--- a/network/rt3xxx/rt3xxx.SlackBuild
+++ b/network/rt3xxx/rt3xxx.SlackBuild
@@ -2,13 +2,15 @@
# Slackware build script for rt3xxx
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=rt3xxx
-VERSION=2.4.1.1_20101217
-BUILD=${BUILD:-1}
+VERSION=2.4.1.1
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+VERSDATE=20101217
+
SRCNAM=DPO_RT3562_3592_3062_LinuxSTA_V
KERNEL=${KERNEL:-$(uname -r)}
@@ -36,9 +38,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM$VERSION
-tar xvf $CWD/$SRCNAM$VERSION.tgz
-cd $SRCNAM$VERSION
+rm -rf $SRCNAM${VERSION}_$VERSDATE
+tar xvf $CWD/$SRCNAM${VERSION}_$VERSDATE.tgz
+cd $SRCNAM${VERSION}_$VERSDATE
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,12 +54,11 @@ patch -p1 < $CWD/patches/Makefile.diff
patch -p1 < $CWD/patches/kill_tftpboot_creation.diff
patch -p1 < $CWD/patches/Makefile.6.diff
-for CHIPSET in $(printf $CHIPSETS | tr , \ ); do
- echo "Working on $CHIPSET" ; sleep 5
- export CHIPSET=$CHIPSET
- make
+for chipset in $(printf $CHIPSETS | tr , \ ); do
+ echo "Working on $chipset" ; sleep 5
+ export CHIPSET=$chipset
+ make V=1
make install DESTDIR=$PKG
- unset CHIPSET
done
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -71,7 +72,7 @@ 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
+sed "s/@KERNEL@/$KERNEL/" $CWD/doinst.sh > $PKG/install/doinst.sh
for FILE in $(find $PKG/etc/rt3xxx -name "*.dat"); do
mv $FILE $FILE.new
diff --git a/network/rt3xxx/rt3xxx.info b/network/rt3xxx/rt3xxx.info
index e1064b2caf..811cdddabf 100644
--- a/network/rt3xxx/rt3xxx.info
+++ b/network/rt3xxx/rt3xxx.info
@@ -6,5 +6,5 @@ MD5SUM="a5e9af70abccdb7b86d1ef605bb34491"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="crocket"
-EMAIL="crockabiscuit@yahoo.com"
-APPROVED="rworkman"
+EMAIL="crockabiscuit@gmail.com"
+APPROVED="Niels Horn"
diff --git a/network/rt3xxx/slack-desc b/network/rt3xxx/slack-desc
index f6241cf804..c7efa617d1 100644
--- a/network/rt3xxx/slack-desc
+++ b/network/rt3xxx/slack-desc
@@ -13,7 +13,7 @@ rt3xxx:
rt3xxx: It's a development version and supports only
rt3xxx: infrastructure mode and ad-hoc mode for now.
rt3xxx:
-rt3xxx: Homepage: http://www.ralinktech.com/support.php?s=2
+rt3xxx: Website : http://www.ralinktech.com/support.php?s=2
rt3xxx:
rt3xxx:
rt3xxx: