1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/netifd.git
8 PKG_SOURCE_DATE
:=2023-09-15
9 PKG_SOURCE_VERSION
:=3d425f16d6a69f602e25d7ec19734bb2c8de1588
10 PKG_MIRROR_HASH
:=6e8210ec376aa9f2b4c948d5f2ab8ca3fd35ab54e790c23b86fe79afdbc8e35a
11 PKG_MAINTAINER
:=Felix Fietkau
<nbd@nbd.name
>
18 include $(INCLUDE_DIR
)/package.mk
19 include $(INCLUDE_DIR
)/cmake.mk
24 DEPENDS
:=+libuci
+libnl-tiny
+libubus
+ubus
+ubusd
+jshn
+libubox
25 TITLE
:=OpenWrt Network Interface Configuration Daemon
28 define Package
/netifd
/conffiles
34 -I
$(STAGING_DIR
)/usr
/include/libnl-tiny \
35 -I
$(STAGING_DIR
)/usr
/include
38 -DLIBNL_LIBS
=-lnl-tiny \
41 define Package
/netifd
/install
42 $(INSTALL_DIR
) $(1)/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/netifd
$(1)/sbin
/
45 $(INSTALL_DIR
) $(1)/etc
/udhcpc.user.d
/
46 $(CP
) $(PKG_BUILD_DIR
)/scripts
/* $(1)/lib
/netifd
/
49 $(eval
$(call BuildPackage
,netifd
))