#
-
-# Copyright (C) 2007 OpenWrt.org
+# Copyright (C) 2007-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=avahi
-PKG_VERSION:=0.6.23
-PKG_RELEASE:=2
+PKG_VERSION:=0.6.25
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://avahi.org/download/
-PKG_MD5SUM:=aab1a304851d8145ea5f6a85c10af9e9
+PKG_MD5SUM:=a83155a6e29e3988f07e5eea3287b21e
PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm
+PKG_FIXUP = libtool
+
include $(INCLUDE_DIR)/package.mk
define Package/avahi/Default
endef
define Package/libavahi/description
-$(call Package/avahi/Default/description)
+$(call Package/avahi/Default/description)
.
This package contains the mDNS/DNS-SD shared libraries, used by other programs.
endef
in a DHCP-like fashion. Especially useful on IPv6.
endef
+TARGET_CFLAGS += $(FPIC) -DGETTEXT_PACKAGE
+
CONFIGURE_ARGS+= \
--enable-shared \
--enable-static \
CFLAGS="$$$$CFLAGS -DNDEBUG" \
$(if $(CONFIG_LINUX_2_4),ac_cv_header_sys_inotify_h=no)
+define Build/Configure
+ ( cd $(PKG_BUILD_DIR); aclocal; libtoolize; autoreconf; );
+ $(call Build/Configure/Default)
+endef
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-dnsconfd $(1)/usr/sbin/
endef
+$(eval $(call RequireCommand,intltool-update, \
+ $(PKG_NAME) requires intltool >= 0.35.0 \
+))
+
$(eval $(call BuildPackage,libavahi))
$(eval $(call BuildPackage,avahi-autoipd))
$(eval $(call BuildPackage,avahi-daemon))
$(eval $(call BuildPackage,avahi-dnsconfd))
-$(eval $(call RequireCommand,intltool-update, \
- $(PKG_NAME) requires intltool >= 0.35.0 \
-))
-