]> git.zerfleddert.de Git - hmcfgusb/blob - Makefile.OpenWRT
hmland: fix interpretation of '+'
[hmcfgusb] / Makefile.OpenWRT
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=hmcfgusb
4 PKG_RELEASE:=1
5 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
6
7 include $(INCLUDE_DIR)/package.mk
8
9 define Package/hmcfgusb
10 SECTION:=utils
11 CATEGORY:=Utilities
12 DEPENDS:=+libusb-1.0
13 TITLE:=HM-CFG-USB utilities
14 endef
15
16 define Build/Prepare
17 mkdir -p $(PKG_BUILD_DIR)
18 $(CP) ./src/* $(PKG_BUILD_DIR)/
19 endef
20
21 define Package/hmcfgusb/install
22 $(INSTALL_DIR) $(1)/usr/bin/
23 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hmland $(1)/usr/bin/
24 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hmsniff $(1)/usr/bin/
25 $(INSTALL_DIR) $(1)/etc/hotplug.d/usb/
26 $(INSTALL_BIN) $(PKG_BUILD_DIR)/20-hmlan.OpenWRT $(1)/etc/hotplug.d/usb/20-hmlan
27 endef
28
29 $(eval $(call BuildPackage,hmcfgusb))
Impressum, Datenschutz