aboutsummaryrefslogtreecommitdiff
path: root/libs/avahi/Makefile
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2014-10-24 02:50:57 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2014-10-25 17:14:41 +0200
commitf36017a44c56102b1c52d62c22670689811d9576 (patch)
tree1eea981cde53aab626b88d6cf505e0773881c19e /libs/avahi/Makefile
parentcad9bdbc85fa8308aeea0c1a7975704dfa7a1edf (diff)
avahi: add libavahi-compat-libdnssd support.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'libs/avahi/Makefile')
-rw-r--r--libs/avahi/Makefile27
1 files changed, 25 insertions, 2 deletions
diff --git a/libs/avahi/Makefile b/libs/avahi/Makefile
index f2d882d32..3dd174c20 100644
--- a/libs/avahi/Makefile
+++ b/libs/avahi/Makefile
@@ -18,7 +18,7 @@ endif
PKG_NAME:=avahi
PKG_VERSION:=0.6.31
-PKG_RELEASE:=6
+PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -172,6 +172,22 @@ $(call Package/avahi/Default/description)
For more information please see the avahi documentation.
endef
+define Package/libavahi-compat-libdnssd
+ $(call Package/avahi/Default)
+ SECTION:=libs
+ CATEGORY:=Libraries
+ DEPENDS:=+libavahi-client
+ TITLE+= (libdnssd)
+endef
+
+define Package/libavahi-compat-libdnssd/description
+$(call Package/avahi/Default/description)
+ .
+ This packages adds the libavahi-compat-libdnssd library.
+ It also automatically adds the required libavahi-client package.
+ For more information please see the avahi documentation.
+endef
+
define Package/avahi-utils
$(call Package/avahi/Default)
SUBMENU:=IP Addresses and Names
@@ -201,6 +217,7 @@ CONFIGURE_ARGS+= \
--disable-gtk3 \
--with-xml=expat \
--disable-dbm \
+ --enable-compat-libdns_sd \
--enable-gdbm \
--enable-libdaemon \
--disable-python \
@@ -246,7 +263,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-* $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/{libavahi-*,libdns_sd*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
endef
@@ -273,6 +290,11 @@ define Package/libavahi-client/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-client.so.* $(1)/usr/lib/
endef
+define Package/libavahi-compat-libdnssd/install
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so.* $(1)/usr/lib/
+endef
+
define Package/avahi-utils/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
@@ -305,6 +327,7 @@ define Package/avahi-dnsconfd/install
endef
$(eval $(call BuildPackage,libavahi-client))
+$(eval $(call BuildPackage,libavahi-compat-libdnssd))
$(eval $(call BuildPackage,avahi-utils))
$(eval $(call BuildPackage,libavahi-dbus-support))
$(eval $(call BuildPackage,libavahi))