summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryix (aryixb) <aryixb@gmail.com>2007-05-13 19:31:57 +0000
committerAryix (aryixb) <aryixb@gmail.com>2007-05-13 19:31:57 +0000
commit32acfdad1dcc0cb4ccdfaa285c6e19335698c8bb (patch)
tree580c047d5f0964417af826b8950862e559bf8fe2 /net-wireless/mac80211/mac80211-7.1.0.ebuild
parentbluez-utils goes into portage-review because it is already in the tree (diff)
downloadsunrise-32acfdad1dcc0cb4ccdfaa285c6e19335698c8bb.tar.gz
sunrise-32acfdad1dcc0cb4ccdfaa285c6e19335698c8bb.tar.bz2
sunrise-32acfdad1dcc0cb4ccdfaa285c6e19335698c8bb.zip
add mac80211-7.1.0
svn path=/sunrise/; revision=3622
Diffstat (limited to 'net-wireless/mac80211/mac80211-7.1.0.ebuild')
-rw-r--r--net-wireless/mac80211/mac80211-7.1.0.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/net-wireless/mac80211/mac80211-7.1.0.ebuild b/net-wireless/mac80211/mac80211-7.1.0.ebuild
new file mode 100644
index 000000000..8e63e1a5a
--- /dev/null
+++ b/net-wireless/mac80211/mac80211-7.1.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit linux-mod
+
+DESCRIPTION="mac80211 subsystem"
+HOMEPAGE="http://intellinuxwireless.org/?p=mac80211"
+SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P}-ht.tgz"
+MOD="${P}-ht"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE=""
+
+DEPEND="kernel_linux? ( virtual/linux-sources )"
+RDEPEND=""
+
+S="${WORKDIR}/${MOD}/compatible/net"
+
+MODULE_NAMES="mac80211(net/mac80211:${S}/mac80211)
+ rc80211_simple(net/mac80211:${S}/mac80211)
+ cfg80211(net/wireless:${S}/wireless)"
+BUILD_PARAMS="CONFIG_MAC80211_LEDS=y CONFIG_MAC80211=m CONFIG_CFG80211=m
+ -C ${KERNEL_DIR} M=\${PWD}"
+BUILD_TARGETS="modules"
+CONFIG_CHECK="NET_SCHED WIRELESS_EXT LEDS_TRIGGERS"
+
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${WORKDIR}/${MOD} ; make unmodified KSRC=${KV_DIR} ||
+ die "make unmodified failed"
+ for i in ${S}/mac80211 ${S}/wireless ; do
+ echo "CFLAGS += -I${WORKDIR}/${MOD}/compatible/include" \
+ "-DCONFIG_MAC80211_LEDS=y" >> $i/Makefile
+ done
+}
+
+src_install() {
+ cd ${WORKDIR}/${MOD}/compatible
+ for i in include/net include/linux ; do
+ insinto /usr/include/${i/include/mac80211}
+ doins $i/*.h
+ done
+
+ insinto /usr/include/mac80211/net/mac80211
+ doins net/mac80211/*.h
+
+ linux-mod_src_install
+} \ No newline at end of file