diff options
author | Jakub Moc <jakub@gentoo.org> | 2007-06-14 07:18:04 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2007-06-14 07:18:04 +0000 |
commit | 82809a714c5d0b36ff37ea8ad4930a22e6c39c2c (patch) | |
tree | 368862403815318c9d62321c19d5f6fab107810c /net-wireless | |
parent | net-wireless/eeprom_93cx6: Bump to newer snapshot (diff) | |
download | sunrise-82809a714c5d0b36ff37ea8ad4930a22e6c39c2c.tar.gz sunrise-82809a714c5d0b36ff37ea8ad4930a22e6c39c2c.tar.bz2 sunrise-82809a714c5d0b36ff37ea8ad4930a22e6c39c2c.zip |
net-wireless/rt2x00-git: Bump to newer snapshot
svn path=/sunrise/; revision=3918
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rt2x00-git/ChangeLog | 3 | ||||
-rw-r--r-- | net-wireless/rt2x00-git/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/rt2x00-git/rt2x00-git-20070529.ebuild | 89 |
3 files changed, 95 insertions, 1 deletions
diff --git a/net-wireless/rt2x00-git/ChangeLog b/net-wireless/rt2x00-git/ChangeLog index d1802efec..985f306bd 100644 --- a/net-wireless/rt2x00-git/ChangeLog +++ b/net-wireless/rt2x00-git/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 14 Jun 2007; Jakub Moc <jakub@gentoo.org> +rt2x00-git-20070529.ebuild: + Bump to newer snapshot + 14 May 2007; Jakub Moc <jakub@gentoo.org> rt2x00-git-20070513.ebuild: Add net-wireless/rt2x00 blocker diff --git a/net-wireless/rt2x00-git/Manifest b/net-wireless/rt2x00-git/Manifest index 2b2598641..8518cee08 100644 --- a/net-wireless/rt2x00-git/Manifest +++ b/net-wireless/rt2x00-git/Manifest @@ -1,4 +1,6 @@ DIST rt2x00-git-20070513.tar.gz 322930 RMD160 205f9891f0d7d06dfd8cafe92f0a70ebb0463cc9 SHA1 7b657bb96d65d6c041bd4bbf060657a3943dc876 SHA256 e38571b6e56f45236a37d5ef7f6c7cba8deea323cf2656a6b843f856082ae6ec +DIST rt2x00-git-20070529.tar.gz 327893 RMD160 e32b25bc84a1bcf5212b70f33f728b9b67065075 SHA1 525ad5131219107cfe6237e041457c49a5a791f6 SHA256 2e6913396a648fe7a03ced6dc51de7fcfa0f194dbf37fb3197c770ef3433411d EBUILD rt2x00-git-20070513.ebuild 2829 RMD160 e64815cdb49b0259e32b44c4f21808b25d6654cd SHA1 fccecd001c1757636a579f88d81917b33fb789bd SHA256 7cf582028874a71047c9311492e51bf7464d8044830ec509654afe9acb82b85a -MISC ChangeLog 399 RMD160 25d3d028fb3fbb98a1457f0ce738656a5fc11d2c SHA1 2161fb1da295b7c17f38035673260def5ac43389 SHA256 102f7b94d85396163edfe7b070a9832d9ef46cdd6ec8a56e2cae3886b4ad9e22 +EBUILD rt2x00-git-20070529.ebuild 2829 RMD160 e64815cdb49b0259e32b44c4f21808b25d6654cd SHA1 fccecd001c1757636a579f88d81917b33fb789bd SHA256 7cf582028874a71047c9311492e51bf7464d8044830ec509654afe9acb82b85a +MISC ChangeLog 498 RMD160 0be5f5f8c974c15affd3ffa3a69a95d8153a8ffa SHA1 562ab98314d39114f6ff2b4ef1892644ff641d39 SHA256 edde2c91764495f3999773776755414811dcd27db4c8ab61d2d206146a3bf672 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-wireless/rt2x00-git/rt2x00-git-20070529.ebuild b/net-wireless/rt2x00-git/rt2x00-git-20070529.ebuild new file mode 100644 index 000000000..58bc9bc22 --- /dev/null +++ b/net-wireless/rt2x00-git/rt2x00-git-20070529.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit linux-mod + +MY_PN="rt2x00-git" +DESCRIPTION="Ralink drivers for rt2400, rt2500, rt61 and rt73 chips (experimental git branch)" +HOMEPAGE="http://rt2x00.serialmonkey.com/" +SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RT2X00_DEVICES="rt2400pci rt2500pci rt2500usb rt61pci rt73usb" +for x in ${RT2X00_DEVICES} ; do + IUSE="${IUSE} ${x}" +done + +DEPEND="net-wireless/mac80211 + !net-wireless/rt2x00" +RDEPEND="${DEPEND} + rt2400pci? ( net-wireless/eeprom_93cx6 ) + rt2500pci? ( net-wireless/eeprom_93cx6 ) + rt61pci? ( net-wireless/eeprom_93cx6 net-wireless/crc-itu-t ) + rt73usb? ( net-wireless/crc-itu-t )" + +S="${WORKDIR}/drivers/net/wireless/mac80211/rt2x00/" + +src_unpack() { + unpack ${A} + if use rt61pci || use rt73usb ; then + echo "CFLAGS += -I/usr/include/mac80211 -I/usr/include/crc-itu-t" \ + "-I/usr/include/eeprom_93cx6 -D CONFIG_RT2X00_LIB_FIRMWARE" >> ${S}/Makefile + else + echo "CFLAGS += -I/usr/include/mac80211 -I/usr/include/crc-itu-t" \ + "-I/usr/include/eeprom_93cx6" >> ${S}/Makefile + fi +} + +pkg_setup() { + # check whether any drivers are set in USE + local selected="n" + for i in ${RT2X00_DEVICES} ; do + if use ${i} ; then + selected="y" + break + fi + done + if [[ ${selected} == "n" ]] ; then + eerror "You didn't choose any rt2x00 driver to build!" + die "Add one or more of ${RT2X00_DEVICES} to your USE flags and try again." + fi + + CONFIG_CHECK="WIRELESS_EXT" + ERROR_WIRELESS_EXT="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." + + MODULE_NAMES="rt2x00lib(net/wireless/mac80211/rt2x00/)" + BUILD_PARAMS="CONFIG_RT2X00=m CONFIG_RT2X00_LIB=m" + + for i in ${RT2X00_DEVICES} ; do + use ${i} && MODULE_NAMES="${MODULE_NAMES} ${i}(net/wireless/mac80211/rt2x00/)" + use ${i} && BUILD_PARAMS="${BUILD_PARAMS} CONFIG_$(echo -n ${i} | tr '[:lower:]' '[:upper:]')=m" + done + + if use rt2400pci || use rt2500pci || use rt61pci ; then + MODULE_NAMES="${MODULE_NAMES} rt2x00pci(net/wireless/mac80211/rt2x00/)" + BUILD_PARAMS="${BUILD_PARAMS} CONFIG_RT2X00_LIB_PCI=m" + CONFIG_CHECK="${CONFIG_CHECK} PCI" + fi + + if use rt2500usb || use rt73usb ; then + MODULE_NAMES="${MODULE_NAMES} rt2x00usb(net/wireless/mac80211/rt2x00/)" + BUILD_PARAMS="${BUILD_PARAMS} CONFIG_RT2X00_LIB_USB=m" + CONFIG_CHECK="${CONFIG_CHECK} USB" + fi + + if use rt61pci || use rt73usb ; then + BUILD_PARAMS="${BUILD_PARAMS} CONFIG_RT2X00_LIB_FIRMWARE=m" + CONFIG_CHECK="${CONFIG_CHECK} FW_LOADER" + ERROR_FW_LOADER="${P} requires support for Firmware module loading (CONFIG_FW_LOADER)." + fi + + linux-mod_pkg_setup + BUILD_TARGETS="modules" + BUILD_PARAMS="${BUILD_PARAMS} -C ${KV_DIR} M=${S} V=1" +} |