1 include $(TOPDIR)/rules.mk
4 PKG_VERSION:=2014-02-26
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:=4d09244bc73a3b8bc8168366526e4ddded41057e
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/cmake.mk
27 DEPENDS:=+libuci +libnl-tiny +libubus +ubus +ubusd +jshn +libubox
28 TITLE:=OpenWrt Network Interface Configuration Daemon
32 -I$(STAGING_DIR)/usr/include/libnl-tiny \
33 -I$(STAGING_DIR)/usr/include
36 -DLIBNL_LIBS=-lnl-tiny \
39 define Package/netifd/install
40 $(INSTALL_DIR) $(1)/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/netifd $(1)/sbin/
43 $(CP) $(PKG_BUILD_DIR)/scripts/* $(1)/lib/netifd/
46 $(eval $(call BuildPackage,netifd))