1 include $(TOPDIR
)/rules.mk
4 PKG_VERSION
:=2016-11-21
5 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
8 PKG_SOURCE_URL
=$(LEDE_GIT
)/project
/netifd.git
9 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE_VERSION
:=153a12143b9fef4b5d3c3a6597f6fe967a17c9d7
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.xz
12 PKG_MIRROR_HASH
:=5d4126e26a88102bc06d36564b204a989a42a1e4aadf6b2776e123fd3f8883f7
13 PKG_MAINTAINER
:=Felix Fietkau
<nbd@nbd.name
>
20 include $(INCLUDE_DIR
)/package.mk
21 include $(INCLUDE_DIR
)/cmake.mk
26 DEPENDS
:=+libuci
+libnl-tiny
+libubus
+ubus
+ubusd
+jshn
+libubox
27 TITLE
:=OpenWrt Network Interface Configuration Daemon
31 -I
$(STAGING_DIR
)/usr
/include/libnl-tiny \
32 -I
$(STAGING_DIR
)/usr
/include
35 -DLIBNL_LIBS
=-lnl-tiny \
38 define Package
/netifd
/install
39 $(INSTALL_DIR
) $(1)/sbin
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/netifd
$(1)/sbin
/
42 $(CP
) $(PKG_BUILD_DIR
)/scripts
/* $(1)/lib
/netifd
/
45 $(eval
$(call BuildPackage
,netifd
))