2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.porchdogsoft.com
/download
/
17 PKG_MD5SUM
:=c389d3ffba0e69a179de2ec650f1fdcc
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/howl
/Default
24 TITLE
:=Zeroconf networking implementation
25 URL
:=http
://www.porchdogsoft.com
/products
/howl
/
28 define Package
/libhowl
29 $(call Package
/howl
/Default
)
35 define Package
/libhowl
/description
36 Howl is a cross-platform implementation of Zeroconf networking.
37 This package contains the Howl shared libraries
, used by other programs.
40 define Package
/howl-autoipd
41 $(call Package
/howl
/Default
)
43 TITLE
:=An IPv4 Link-Local address self-assigner daemon
46 define Package
/howl-autoipd
/description
47 Howl is a cross-platform implementation of Zeroconf networking.
48 This package contains an IPv4 Link-Local address self-assigner daemon.
51 define Package
/howl-mdnsresponder
52 $(call Package
/howl
/Default
)
54 TITLE
:=An mDNS
(Multicast DNS
) service responder daemon
57 define Package
/howl-mdnsresponder
/description
58 Howl is a cross-platform implementation of Zeroconf networking.
59 This package contains an mDNS
(Multicast DNS
) service responder daemon.
62 define Package
/howl-mdnsresponder
/conffiles
63 /etc
/mDNSResponder.conf
66 define Package
/howl-nifd
67 $(call Package
/howl
/Default
)
69 TITLE
:=A network interface monitor daemon
72 define Package
/howl-nifd
/description
73 This package contains a network interface monitor daemon.
76 define Package
/howl-utils
77 $(call Package
/howl
/Default
)
82 define Package
/howl-utils
/description
83 This package contains mDNS
(Multicast DNS
) client utilities.
86 define Build
/Configure
87 $(call Build
/Configure
/Default
, \
94 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
95 DESTDIR
="$(PKG_INSTALL_DIR)" \
99 define Build
/InstallDev
100 mkdir
-p
$(1)/usr
/include
101 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/howl
$(1)/usr
/include/
102 mkdir
-p
$(1)/usr
/lib
103 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
{howl
,mDNSResponder
}.
{a
,so
*} $(1)/usr
/lib
/
104 mkdir
-p
$(1)/usr
/lib
/pkgconfig
105 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/howl.
pc $(1)/usr
/lib
/pkgconfig
/
106 $(SED
) 's,-I/usr/include,-I$$$${includedir},g' $(1)/usr
/lib
/pkgconfig
/howl.
pc
107 $(SED
) 's,-L/usr/lib/howl,-L$$$${libdir}/howl,g' $(1)/usr
/lib
/pkgconfig
/howl.
pc
110 define Package
/libhowl
/install
111 $(INSTALL_DIR
) $(1)/usr
/lib
112 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
{howl
,mDNSResponder
}.so.
* $(1)/usr
/lib
/
115 define Package
/howl-autoipd
/install
116 $(INSTALL_DIR
) $(1)/usr
/sbin
117 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/autoipd
$(1)/usr
/sbin
/
118 $(INSTALL_DIR
) $(1)/etc
/init.d
119 $(INSTALL_DATA
) .
/files
/autoipd.init
$(1)/etc
/init.d
/autoipd
122 define Package
/howl-mdnsresponder
/install
123 $(INSTALL_DIR
) $(1)/usr
/sbin
124 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/mDNSResponder
$(1)/usr
/sbin
/
125 $(INSTALL_DIR
) $(1)/etc
126 $(INSTALL_DATA
) .
/files
/mDNSResponder.conf
$(1)/etc
/mDNSResponder.conf
127 $(INSTALL_DIR
) $(1)/etc
/init.d
128 $(INSTALL_BIN
) .
/files
/mDNSResponder.init
$(1)/etc
/init.d
/mDNSResponder
131 define Package
/howl-nifd
/install
132 $(INSTALL_DIR
) $(1)/usr
/sbin
133 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/nifd
$(1)/usr
/sbin
/
134 $(INSTALL_DIR
) $(1)/etc
/init.d
135 $(INSTALL_DATA
) .
/files
/nifd.init
$(1)/etc
/init.d
/nifd
138 define Package
/howl-utils
/install
139 $(INSTALL_DIR
) $(1)/usr
/bin
140 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/mDNS
{Browse
,Publish
,Query
,Resolve
} $(1)/usr
/bin
/
143 $(eval
$(call BuildPackage
,libhowl
))
144 $(eval
$(call BuildPackage
,howl-autoipd
))
145 $(eval
$(call BuildPackage
,howl-mdnsresponder
))
146 $(eval
$(call BuildPackage
,howl-nifd
))
147 $(eval
$(call BuildPackage
,howl-utils
))