summaryrefslogtreecommitdiffstats
path: root/package/crda
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-29 08:57:49 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-06 13:44:59 +0200
commit9a5820465e79497a1304dcbce9a835dfb1197e6c (patch)
treed19f706d6adbdd2af19320217cab49b51ef72465 /package/crda
parentb099bb199e5819c1b15b9a623a4e5d9d6423ada4 (diff)
downloadbuildroot-novena-9a5820465e79497a1304dcbce9a835dfb1197e6c.tar.gz
buildroot-novena-9a5820465e79497a1304dcbce9a835dfb1197e6c.zip
crda: new package
Based on the one from Dimitrios Siganos <dimitris@siganos.org> but with a proper host-python-m2crypto instead of patching. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/crda')
-rw-r--r--package/crda/Config.in15
-rw-r--r--package/crda/crda.mk23
2 files changed, 38 insertions, 0 deletions
diff --git a/package/crda/Config.in b/package/crda/Config.in
new file mode 100644
index 000000000..66baf14e3
--- /dev/null
+++ b/package/crda/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_CRDA
+ bool "crda"
+ select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_LIBNL
+ # regdb is a runtime dependency
+ select BR2_PACKAGE_WIRELESS_REGDB
+ help
+ Central Regulatory Domain Agent.
+
+ This package provides a Central Regulatory Domain Agent (CRDA)
+ to be used by the Linux kernel cf80211 wireless subsystem to
+ query and apply the regulatory domain settings wireless devices
+ may operate within for a given location.
+
+ http://linuxwireless.org/en/developers/Regulatory/CRDA
diff --git a/package/crda/crda.mk b/package/crda/crda.mk
new file mode 100644
index 000000000..0c9391d51
--- /dev/null
+++ b/package/crda/crda.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# crda
+#
+#############################################################
+
+CRDA_VERSION = 1.1.3
+CRDA_SOURCE = crda-$(CRDA_VERSION).tar.bz2
+CRDA_SITE = http://wireless.kernel.org/download/crda
+CRDA_DEPENDENCIES = host-pkgconf host-python-m2crypto \
+ libnl libgcrypt
+CRDA_LICENSE = ISC
+CRDA_LICENSE_FILES = LICENSE
+
+define CRDA_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) all_noverify -C $(@D)
+endef
+
+define CRDA_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR)
+endef
+
+$(eval $(generic-package))