Add a few SPDX tags
[openwrt/staging/lynxis/omap.git] / package / network / utils / wwan / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=wwan
4 PKG_VERSION:=2014-07-17
5 PKG_RELEASE=1
6
7 PKG_LICENSE:=GPL-2.0
8 PKG_LICENSE_FILES:=
9
10 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
11
12 include $(INCLUDE_DIR)/package.mk
13
14 define Package/wwan
15 SECTION:=net
16 CATEGORY:=Network
17 TITLE:=Generic OpenWrt 3G/4G proto handler
18 endef
19
20 define Build/Compile
21 true
22 endef
23
24 define Package/wwan/install
25 $(INSTALL_DIR) $(1)/lib/netifd/proto/
26 $(CP) ./files/wwan.sh $(1)/lib/netifd/proto/
27 $(INSTALL_DIR) $(1)/etc/hotplug.d/usb
28 $(INSTALL_BIN) ./files/wwan.usb $(1)/etc/hotplug.d/usb/00_wwan.sh
29 $(INSTALL_DIR) $(1)/etc/hotplug.d/usbmisc
30 $(INSTALL_BIN) ./files/wwan.usbmisc $(1)/etc/hotplug.d/usbmisc/00_wwan.sh
31 endef
32
33 $(eval $(call BuildPackage,wwan))