2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2014-01-19
12 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE_URL
:=git
://nbd.name
/mdnsd.git
18 PKG_SOURCE_VERSION
:=8f771a5bcfd7f99e2ab8c68f1932c9d7c6804e96
20 PKG_MAINTAINER
:=John Crispin
<blogic@openwrt.org
>
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/cmake.mk
28 TITLE
:=Multicast DNS Daemon
29 DEPENDS
:=+libubox
+libubus
+libblobmsg-json
32 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include
34 define Package
/mdnsd
/install
35 $(INSTALL_DIR
) $(1)/usr
/sbin
36 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/mdnsd
$(1)/usr
/sbin
/
37 # $(INSTALL_DIR) $(1)/etc/init.d
38 # $(INSTALL_BIN) ./files/relay.init $(1)/etc/init.d/relayd
41 $(eval
$(call BuildPackage
,mdnsd
))