network/rt2500: Updated for version 2007062115

This commit is contained in:
Martin Lefebvre 2010-05-11 19:46:00 +02:00 committed by Robby Workman
parent 399cf14e25
commit 00bbf2b55c
4 changed files with 20 additions and 14 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"

View File

@ -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.