b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | include $(TOPDIR)/rules.mk |
| 2 | include $(INCLUDE_DIR)/kernel.mk |
| 3 | |
| 4 | PKG_NAME:=oonf-init-scripts |
| 5 | PKG_VERSION:=0.9.1-r3 |
| 6 | PKG_RELEASE:=1 |
| 7 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) |
| 8 | |
| 9 | include $(INCLUDE_DIR)/package.mk |
| 10 | |
| 11 | define Package/oonf-init-scripts |
| 12 | SECTION:=net |
| 13 | CATEGORY:=Network |
| 14 | MAINTAINER:=Henning Rogge <hrogge@gmail.com> |
| 15 | SUBMENU:=OLSR.org network framework |
| 16 | URL:=http://www.olsr.org/ |
| 17 | TITLE:= Common OONF startup scripts |
| 18 | VERSION:=$(PKG_VERSION) |
| 19 | endef |
| 20 | |
| 21 | define Build/Prepare |
| 22 | mkdir -p $(PKG_BUILD_DIR) |
| 23 | endef |
| 24 | |
| 25 | define Build/Configure |
| 26 | endef |
| 27 | |
| 28 | define Build/Compile |
| 29 | endef |
| 30 | |
| 31 | define Package/oonf-init-scripts/install |
| 32 | $(INSTALL_BIN) -D ./files/oonf_init.sh $(1)/lib/functions/oonf_init.sh |
| 33 | $(INSTALL_BIN) -D ./files/oonf_hotplug.sh $(1)/lib/functions/oonf_hotplug.sh |
| 34 | endef |
| 35 | |
| 36 | $(eval $(call BuildPackage,oonf-init-scripts)) |