summaryrefslogtreecommitdiff
path: root/package/rfkill/Makefile
blob: cce5bd6a0e5b8032cbbe40b30f5bc197c158951d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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:=		rfkill
PKG_VERSION:=		0.5
PKG_RELEASE:=		1
PKG_HASH:=		e0ae3004215e39a6c5c36e0726558740728d16f67ebdb8bea621250f6091d86a
PKG_DESCR:=		radio frequency kill utility
PKG_SECTION:=		net/wifi
PKG_URL:=		https://www.kernel.org/pub/software/network/rfkill/
PKG_SITES:=		https://www.kernel.org/pub/software/network/rfkill/
PKG_BB:=		1

include $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk