summaryrefslogtreecommitdiff
path: root/package/wireless-regdb/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:47:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:37 +0100
commitde8ac35cc1924d4c7d78096e8acbfff2a2adf51b (patch)
treea7bab826a61d09f52e66a6c95a8785a908fd79de /package/wireless-regdb/Makefile
parent01a8fc1dc38637b01e61d384cd7e09ba7ec37d9b (diff)
port wireless-regdb
Diffstat (limited to 'package/wireless-regdb/Makefile')
-rw-r--r--package/wireless-regdb/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/wireless-regdb/Makefile b/package/wireless-regdb/Makefile
new file mode 100644
index 000000000..d984b60e7
--- /dev/null
+++ b/package/wireless-regdb/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= wireless-regdb
+PKG_VERSION:= 2011.04.28
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 16b7fabd4d7761ccf206702a3f18cce9
+PKG_DESCR:= Binary regulatory database for CRDA
+PKG_SECTION:= libs/net
+PKG_URL:= http://wireless.kernel.org/en/developers/Regulatory
+PKG_SITES:= http://wireless.kernel.org/download/wireless-regdb/
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,WIRELESS_REGDB,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+do-install:
+ $(INSTALL_DIR) $(IDIR_WIRELESS_REGDB)/usr/lib/crda
+ $(INSTALL_DATA) $(WRKDIST)/regulatory.bin \
+ $(IDIR_WIRELESS_REGDB)/usr/lib/crda
+ $(INSTALL_DIR) $(IDIR_WIRELESS_REGDB)/etc/wireless-regdb/pubkeys
+ $(INSTALL_DATA) $(WRKDIST)/linville.key.pub.pem \
+ $(IDIR_WIRELESS_REGDB)/etc/wireless-regdb/pubkeys
+
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk