summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2006-09-08 23:05:54 +0000
committerDavid Shakaryan <omp@gentoo.org>2006-09-08 23:05:54 +0000
commit1cf5e084bcdc85d9ca9fa31fa4144dc648208125 (patch)
treeeff6e771d9821b7cfea03ae0797ae841a6159775 /net-wireless
parentdev-lang/awib: New ebuild for bug 146885 (diff)
downloadsunrise-1cf5e084bcdc85d9ca9fa31fa4144dc648208125.tar.gz
sunrise-1cf5e084bcdc85d9ca9fa31fa4144dc648208125.tar.bz2
sunrise-1cf5e084bcdc85d9ca9fa31fa4144dc648208125.zip
net-wireless/rt73: many aesthetic changes
svn path=/sunrise/; revision=1196
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/rt73/Manifest8
-rw-r--r--net-wireless/rt73/rt73-1.0.3.6.ebuild36
2 files changed, 23 insertions, 21 deletions
diff --git a/net-wireless/rt73/Manifest b/net-wireless/rt73/Manifest
index f500bd32f..c3b687c97 100644
--- a/net-wireless/rt73/Manifest
+++ b/net-wireless/rt73/Manifest
@@ -11,10 +11,10 @@ MD5 f96c4ed669b805b5b88e5e3f069953bb files/make6.patch 270
RMD160 4d628cc85279174de019b28d555b0f1cdc26a8df files/make6.patch 270
SHA256 b7dcd31d01319c06b3ce4397adb32682d2dad67c9e672e1f4fb14dab1709c5db files/make6.patch 270
DIST RT73_Linux_STA_Drv1.0.3.6.tar.gz 338250 RMD160 a917a0c67ab2efcbf4e33a3a3f3e19385621c4e8 SHA1 cfcf2b9cc8baf8467122f4ccfe2551bfdfac61d4 SHA256 5aa6f5d3f52ac14dfee489d2a63fef2f6ffbfdfcac482355672610c594e305dd
-EBUILD rt73-1.0.3.6.ebuild 2059 RMD160 bf2c9e555c3d5ce4cadad6623264ba47ba64e6bb SHA1 915298f00efcec02cc70667f185c8832447ff4e9 SHA256 c8ce25e6145fd5dd87e3709ad69c955f8dadb72bf4f198dcf844fcd70c4beac6
-MD5 25436d51d5ab7287e81ba24b760ef6eb rt73-1.0.3.6.ebuild 2059
-RMD160 bf2c9e555c3d5ce4cadad6623264ba47ba64e6bb rt73-1.0.3.6.ebuild 2059
-SHA256 c8ce25e6145fd5dd87e3709ad69c955f8dadb72bf4f198dcf844fcd70c4beac6 rt73-1.0.3.6.ebuild 2059
+EBUILD rt73-1.0.3.6.ebuild 2020 RMD160 eaa4b76b4f7eece15dae5e87cd99b46e785a4d8b SHA1 d46428db45ae22e035b1583aa27dc8b5fde58ffc SHA256 0fc4f55836a935a62256eccd2a98f397db952aac3dd05acf401f9911386a00a6
+MD5 1f7c106082b0299ac9e327230ec567f2 rt73-1.0.3.6.ebuild 2020
+RMD160 eaa4b76b4f7eece15dae5e87cd99b46e785a4d8b rt73-1.0.3.6.ebuild 2020
+SHA256 0fc4f55836a935a62256eccd2a98f397db952aac3dd05acf401f9911386a00a6 rt73-1.0.3.6.ebuild 2020
MISC ChangeLog 444 RMD160 774db702ca733b450d00aeef4018df6f4834c7b6 SHA1 283dbe2823cce7716c6189c40bfc5a9aa424ae7a SHA256 c2247a050f0c4fb3dffb711f222e5e8d355d15d9620e9efcf91320053e019057
MD5 c78a6b7de044abc383d4c31a1d7b70fa ChangeLog 444
RMD160 774db702ca733b450d00aeef4018df6f4834c7b6 ChangeLog 444
diff --git a/net-wireless/rt73/rt73-1.0.3.6.ebuild b/net-wireless/rt73/rt73-1.0.3.6.ebuild
index 85b71e8f1..b8a3b189c 100644
--- a/net-wireless/rt73/rt73-1.0.3.6.ebuild
+++ b/net-wireless/rt73/rt73-1.0.3.6.ebuild
@@ -6,23 +6,23 @@ inherit linux-mod
DESCRIPTION="Driver for the RaLink RT73/2571 wireless chipsets"
HOMEPAGE="http://www.ralink.com.tw"
-LICENSE="GPL-2"
-
-MY_P=RT73_Linux_STA_Drv${PV}
-
SRC_URI="http://www.ralink.com.tw/drivers/Linux/RT73_Linux_STA_Drv${PV}.tar.gz"
-# May work on other little endien arches, e.g amd64 - known broken on big endian arches
+MY_P=RT73_Linux_STA_Drv${PV}
+# May work on other little endien arches, e.g amd64
+# Known broken on big endian arches
+LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="debug"
+
RDEPEND="net-wireless/wireless-tools"
-S="${WORKDIR}/${MY_P}"
MODULE_NAMES="rt73(net:${S}/Module)"
+S=${WORKDIR}/${MY_P}
+
CONFIG_CHECK="NET_RADIO"
ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
-
MODULESD_RT73_ALIASES=('usbra? rt73')
pkg_setup() {
@@ -33,18 +33,20 @@ pkg_setup() {
src_unpack (){
unpack ${A}
- cd ${S}/Module
-# Portage expects to do make module, not make all
-# Only patch the makefile we are going to use
-# Makefile.4 Makefile for kernel 2.4 series
+ cd "${S}/Module"
+
+ # Portage expects to do make module, not make all
+ # Only patch the makefile we are going to use
+
+ # Makefile.4 - Makefile for kernel 2.4 series
if kernel_is 2 4 ; then
- epatch ${FILESDIR}/make4.patch
+ epatch "${FILESDIR}/make4.patch"
cp Makefile.4 Makefile
fi
-# Makefile.6 Makefile for kernel 2.6 series
+ # Makefile.6 - Makefile for kernel 2.6 series
if kernel_is 2 6 ; then
- epatch ${FILESDIR}/make6.patch
+ epatch "${FILESDIR}/make6.patch"
cp Makefile.6 Makefile
fi
if ! [ -f Makefile ]; then
@@ -53,8 +55,8 @@ src_unpack (){
die
fi
-# if you are really careful you can edit this patch to add your RT73 Device too
- epatch ${FILESDIR}/deviceID.patch
+ # You can edit patch to also add your RT73 device if you are careful.
+ epatch "${FILESDIR}/deviceID.patch"
}
@@ -66,7 +68,7 @@ src_compile() {
src_install() {
linux-mod_src_install
dodoc Module/README Module/iwpriv_usage.txt
-# The firmware Install
+ # The firmware install
insinto /etc/Wireless/RT73STA
doins Module/rt73.bin Module/rt73sta.dat
}