1 include $(TOPDIR
)/rules.mk
4 PKG_VERSION
:=2011-10-21
5 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
8 PKG_SOURCE_URL
:=git
://nbd.name
/luci2
/netifd.git
9 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE_VERSION
:=986c4a1434cc61d2de560690ecc0d532a157d40a
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
12 PKG_MIRROR_MD5SUM
:=627677df83aa7844f72caa8ad4f7eea9
15 include $(INCLUDE_DIR
)/package.mk
16 include $(INCLUDE_DIR
)/cmake.mk
21 DEPENDS
:=+libuci
+libnl-tiny
+libubus
+ubus
+ubusd @USE_NETIFD
22 TITLE
:=OpenWrt Network Interface Configuration Daemon
26 -I
$(STAGING_DIR
)/usr
/include \
27 -I
$(STAGING_DIR
)/usr
/include/libnl-tiny
30 -DLIBNL_LIBS
=-lnl-tiny \
33 define Package
/netifd
/install
34 $(INSTALL_DIR
) $(1)/sbin
35 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/netifd
$(1)/sbin
/
37 $(CP
) $(PKG_BUILD_DIR
)/dummy
/netifd-proto.sh
$(1)/lib
/netifd
/
40 $(eval
$(call BuildPackage
,netifd
))