mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 00:45:28 +00:00
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
|
#
|
||
|
# Copyright (C) 2014 OpenWrt.org
|
||
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
|
|
||
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
PKG_NAME:=mdnsd
|
||
|
PKG_VERSION:=2014-01-19
|
||
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||
|
|
||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||
|
PKG_SOURCE_URL:=git://nbd.name/mdnsd.git
|
||
|
PKG_SOURCE_PROTO:=git
|
||
|
PKG_SOURCE_VERSION:=8f771a5bcfd7f99e2ab8c68f1932c9d7c6804e96
|
||
|
|
||
|
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
|
||
|
|
||
|
include $(INCLUDE_DIR)/package.mk
|
||
|
include $(INCLUDE_DIR)/cmake.mk
|
||
|
|
||
|
define Package/mdnsd
|
||
|
SECTION:=net
|
||
|
CATEGORY:=Network
|
||
|
TITLE:=Multicast DNS Daemon
|
||
|
DEPENDS:=+libubox +libubus +libblobmsg-json
|
||
|
endef
|
||
|
|
||
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||
|
|
||
|
define Package/mdnsd/install
|
||
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mdnsd $(1)/usr/sbin/
|
||
|
# $(INSTALL_DIR) $(1)/etc/init.d
|
||
|
# $(INSTALL_BIN) ./files/relay.init $(1)/etc/init.d/relayd
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,mdnsd))
|