Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45631 Details for
Bug 58483
rt2500-1.4.1.0-r1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rt2500-1.4.4.0-r1.ebuild
rt2500-1.4.4.0-r1.ebuild (text/plain), 2.17 KB, created by
Michael Schilling
on 2004-12-09 14:26:00 UTC
(
hide
)
Description:
rt2500-1.4.4.0-r1.ebuild
Filename:
MIME Type:
Creator:
Michael Schilling
Created:
2004-12-09 14:26:00 UTC
Size:
2.17 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit kernel-mod eutils > > >DESCRIPTION="Driver and Utilities for RaLink RT2500 wireless chipsets" >HOMEPAGE="http://www.ralinktech.com" > >MY_P=RT2500-Linux-STA-${PV} > >SRC_URI="http://www.ralinktech.com/drivers/Linux/${MY_P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >DEPEND="virtual/kernel > virtual/x11 > qt" >RDEPEND="" > >S=${WORKDIR}/${MY_P} > >src_unpack() { > check_KV > kernel-mod_getversion > > unpack ${MY_P}.tar.gz > einfo "Copying the approciate Makefile to work dir..." > if [[ "${KV_MINOR}" = "6" ]] ; then > cp -v ${S}/STA/Module/2.6.x/Makefile ${S}/STA/Module/ > elif [[ "${KV_MINOR}" = "4" ]] ; then > cp -v ${S}/STA/Module/2.4.x/Makefile ${S}/STA/Module/ > fi > epatch ${FILESDIR}/rt2500-1.4.4.0-spin-lock.patch >} > >src_compile() { > unset ARCH > #Here follows a workaround for the .qtrc write error, found on : > #http://forums.gentoo.org/viewtopic.php?t=18733&highlight=qtrc+lock > REALHOME="$HOME" > mkdir -p ${T}/fakehome/.kde > mkdir -p ${T}/fakehome/.qt > export HOME="${T}/fakehome" > addwrite "${QTDIR}/etc/settings" > > #make the utility > cd ${S}/STA/Utilitys > qmake -o Makefile raconfig2500.pro > make clean > emake || die > > #make the module > cd ${S}/STA/Module > make clean > > if [[ ${KV_MINOR} = "6" ]] ; then > emake -C /usr/src/linux SUBDIRS=${S}/STA/Module modules || die > else #this has to be 2.4, as otherwise we wont be here > chmod +x ./Configure > emake all || die > fi > > export HOME="$REALHOME" #do we need this? >} > >src_install() { > # Install the kernel module and the docs provided from ralink > if [[ ${KV_MINOR} = "6" ]] ; then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > > dodoc ${S}/STA/Module/README ${S}/STA/Module/ReleaseNote > > insinto /lib/modules/${KV}/net > doins ${S}/STA/Module/rt2500.${KV_OBJ} || die > > # Install the configuration software > dobin ${S}/STA/Utility/RaConfig2500 >} > >pkg_postinst() { > if [[ ${KV_MINOR} = "6" ]] ; then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > einfo "Checking kernel module dependencies" > test -r "${ROOT}/usr/src/linux/System.map" && depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58483
:
36236
|
36237
|
36251
|
36721
|
39197
|
39198
|
39439
|
39733
|
40452
|
40466
|
45304
|
45545
|
45611
|
45631
|
49316
|
49319
|
49351