diff options
-rw-r--r-- | network/rt2500/README | 4 | ||||
-rw-r--r-- | network/rt2500/rt2500.SlackBuild | 14 | ||||
-rw-r--r-- | network/rt2500/rt2500.info | 6 | ||||
-rw-r--r-- | network/rt2500/slack-desc | 10 |
4 files changed, 20 insertions, 14 deletions
diff --git a/network/rt2500/README b/network/rt2500/README index 4e67ade8da..0b9bc57ade 100644 --- a/network/rt2500/README +++ b/network/rt2500/README @@ -4,10 +4,6 @@ Driver for RaLink-based wireless network adapters using the rt2500 chipset. This will install only the rt2500 kernel module, so the "Utility" is not included. -For more information, visit the project's home page at: -http://rt2x00.serialmonkey.com. - This is a build from the daily snapshots of the source code. The md5sum cannot be used to check the validity of the downloaded file as it will change everytime the snapshot is re-generated. - diff --git a/network/rt2500/rt2500.SlackBuild b/network/rt2500/rt2500.SlackBuild index b87e5803bc..715183a6c9 100644 --- a/network/rt2500/rt2500.SlackBuild +++ b/network/rt2500/rt2500.SlackBuild @@ -23,20 +23,22 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # +# Modified by the SlackBuilds.org Project. + set -e PRGNAM=rt2500 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -FULLVERSION=`tar -tzf rt2500-cvs-daily.tar.gz |head -1|cut -d- -f3|tr -d \/` -VERSION=`tar -tzf rt2500-cvs-daily.tar.gz | head -1 | cut -d- -f3 | tr -d \/ | colrm 9` -_KERNELVER=${_KERNELVER:-`uname -r`} -_KERNMINOR=`echo ${_KERNELVER} | awk -F "." '{ print $2 }'` +FULLVERSION=$(tar -tzf rt2500-cvs-daily.tar.gz |head -1|cut -d- -f3|tr -d \/) +VERSION=$(tar -tzf rt2500-cvs-daily.tar.gz | head -1 | cut -d- -f3 | tr -d \/ | colrm 9) +_KERNELVER=${_KERNELVER:-$(uname -r)} +_KERNMINOR=$(echo ${_KERNELVER} | awk -F "." '{ print $2 }') if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -81,4 +83,4 @@ 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}_${_KERNELVER}-${ARCH}-${BUILD}${TAG}.tgz +/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}-${VERSION}_$(echo $_KERNELVER | tr - _)-${ARCH}-${BUILD}${TAG}.tgz diff --git a/network/rt2500/rt2500.info b/network/rt2500/rt2500.info index 7a23d8dc27..9a96b97cdc 100644 --- a/network/rt2500/rt2500.info +++ b/network/rt2500/rt2500.info @@ -1,8 +1,8 @@ PRGNAM="rt2500" -VERSION="2006071118" +VERSION="2007062115" HOMEPAGE="http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page" DOWNLOAD="http://rt2x00.serialmonkey.com/rt2500-cvs-daily.tar.gz" -MD5SUM="7999fdec3374b8f18a223d5f1d189e7e" +MD5SUM="e0b68093b9e2ddfe43c2eff55f0b44ca" MAINTAINER="Martin Lefebvre" EMAIL="dadexter@gmail.com" -APPROVED="robw810" +APPROVED="rworkman,alien" diff --git a/network/rt2500/slack-desc b/network/rt2500/slack-desc index 93183c976e..5bc6dce847 100644 --- a/network/rt2500/slack-desc +++ b/network/rt2500/slack-desc @@ -1,4 +1,12 @@ -rt2500: rt2500 driver cvs release +# 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------------------------------------------------------| +rt2500: rt2500 (rt2500 driver cvs release) rt2500: rt2500: Driver for RaLink-based wireless network adapters using the rt2500 rt2500: chipset. |