summaryrefslogtreecommitdiff
path: root/recipes/crda
diff options
context:
space:
mode:
authorEric BENARD <eric@eukrea.com>2010-05-04 10:26:49 +0000
committerTom Rini <tom_rini@mentor.com>2010-05-04 14:11:56 -0700
commit8c7f50cd36852a1588420643ae5e42f895acc397 (patch)
tree87d861d4324e40f3e5214bf38cdf28849434446b /recipes/crda
parent0e35beaa5a4060e756afcbed22a2aef4470ceeb5 (diff)
crda: add version 1.1.1
- http://wireless.kernel.org/en/developers/Regulatory/CRDA - CRDA acts as the udev helper for communication between the kernel and userspace for regulatory compliance. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/crda')
-rw-r--r--recipes/crda/crda_1.1.1.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/crda/crda_1.1.1.bb b/recipes/crda/crda_1.1.1.bb
new file mode 100644
index 0000000000..8d6cf38661
--- /dev/null
+++ b/recipes/crda/crda_1.1.1.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Wireless Central Regulatory Domain Agent"
+HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "ISC"
+PR = "r0"
+
+DEPENDS = "libgcrypt libnl python-native python-m2crypto-native"
+RDEPENDS = "udev"
+
+SRC_URI = "http://wireless.kernel.org/download/crda/${P}.tar.bz2;name=crda \
+ http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2009.11.25-regulatory.bin;name=reg \
+ "
+
+do_install() {
+ oe_runmake DESTDIR=${D} install
+ install -d ${D}/usr/lib/crda/
+ install -m 0644 ${WORKDIR}/2009.11.25-regulatory.bin ${D}/usr/lib/crda/regulatory.bin
+}
+
+SRC_URI[crda.md5sum] = "5fc77af68b3e21736b8ef2f8b061c810"
+SRC_URI[crda.sha256sum] = "59b4760da44a8f803caeaaa7fb97e0c6bd3f35f40445b28258e7f14c2fbe13b5"
+SRC_URI[reg.md5sum] = "873b5c55a26c8ba7674e083f51cb10aa"
+SRC_URI[reg.sha256sum] = "3ac77fa4d8034e4f5bc484adc4b073c3636dea26803e5e695cc54c15b629154a"
+
+FILES_${PN} += "\
+ /lib/udev/rules.d/85-regulatory.rules \
+ /usr/lib/crda/regulatory.bin \
+ "