summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-26 15:42:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-26 15:42:17 +0200
commit12cfb26ce344475713942987dfd980d37d4d6c44 (patch)
tree43d70d0160d32cfb6059aa86b526f6174d467545 /package
parent8711c3221628bf17ecbdb66c1d929cd0b371e36e (diff)
add rfkill command
Diffstat (limited to 'package')
-rw-r--r--package/rfkill/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/rfkill/Makefile b/package/rfkill/Makefile
new file mode 100644
index 000000000..a38b65135
--- /dev/null
+++ b/package/rfkill/Makefile
@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= rfkill
+PKG_VERSION:= 0.5
+PKG_RELEASE:= 1
+PKG_MD5SUM:= ce834c00c049cd86a04ab115c92ef548
+PKG_DESCR:= radio frequency kill utility
+PKG_SECTION:= wifi
+PKG_URL:= https://www.kernel.org/pub/software/network/rfkill/
+PKG_SITES:= https://www.kernel.org/pub/software/network/rfkill/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,RFKILL,rfkill,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+rfkill-install:
+ $(INSTALL_DIR) $(IDIR_RFKILL)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/rfkill \
+ $(IDIR_RFKILL)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk