blob: 8bfbf6ede32c1fa02edae41aefbda30074d6bf41 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001include $(TOPDIR)/rules.mk
2include $(INCLUDE_DIR)/kernel.mk
3
4PKG_NAME:=oonf-init-scripts
5PKG_VERSION:=0.9.1-r3
6PKG_RELEASE:=1
7PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
8
9include $(INCLUDE_DIR)/package.mk
10
11define 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)
19endef
20
21define Build/Prepare
22 mkdir -p $(PKG_BUILD_DIR)
23endef
24
25define Build/Configure
26endef
27
28define Build/Compile
29endef
30
31define 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
34endef
35
36$(eval $(call BuildPackage,oonf-init-scripts))