treewide: remove AUTORELEASE
[feed/packages.git] / net / wsdd2 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=wsdd2
4 PKG_RELEASE:=2
5
6 PKG_SOURCE_PROTO:=git
7 PKG_SOURCE_URL:=https://github.com/Netgear/wsdd2.git
8 PKG_SOURCE_DATE:=2022-04-25
9 PKG_SOURCE_VERSION:=e37443ac4c757dbf14167ec3f754ebe88244ad4b
10 PKG_MIRROR_HASH:=45e0c37b8e275c8d088506f953aa25b30a31600ce67ccb4f60b1eda6688a5a8b
11
12 PKG_LICENSE:=GPL-3.0-only
13 PKG_LICENSE_FILES:=COPYING
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/wsdd2
18 SECTION:=net
19 CATEGORY:=Network
20 SUBMENU:=IP Addresses and Names
21 TITLE:=Web Services for Devices (WSD) daemon
22 URL:=https://github.com/Netgear/wsdd2
23 endef
24
25 define Package/wsdd2/description
26 Web Services for Devices or Web Services on Devices (WSD),
27 is a Microsoft API to simplify programming connections to web service
28 enabled devices, such as printers, scanners and file shares.
29
30 This daemon advertises and responds to probe requests from Windows clients looking for file shares.
31 It also implements LLMNR multicast name lookup services.
32 endef
33
34 define Build/Compile
35 $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(PKG_BUILD_DIR)/{wsdd2.c,wsd.c,llmnr.c} -o $(PKG_BUILD_DIR)/wsdd2
36 endef
37
38 define Package/wsdd2/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/wsdd2 $(1)/usr/bin/
41 $(INSTALL_DIR) $(1)/etc/init.d
42 $(INSTALL_BIN) ./files/wsdd2.init $(1)/etc/init.d/wsdd2
43 endef
44
45 $(eval $(call BuildPackage,wsdd2))