Commit 9a582046 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

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: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent b099bb19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -671,6 +671,7 @@ source "package/bmon/Config.in"
source "package/bridge-utils/Config.in"
source "package/can-utils/Config.in"
source "package/connman/Config.in"
source "package/crda/Config.in"
source "package/ctorrent/Config.in"
source "package/conntrack-tools/Config.in"
source "package/cups/Config.in"

package/crda/Config.in

0 → 100644
+15 −0
Original line number Diff line number Diff line
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

package/crda/crda.mk

0 → 100644
+23 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))