procd: make mDNS TXT record parsing more solid
[openwrt/openwrt.git] / package / utils / fritz-tools / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=fritz-tools
4 PKG_RELEASE:=1
5 CMAKE_INSTALL:=1
6
7 include $(INCLUDE_DIR)/package.mk
8 include $(INCLUDE_DIR)/cmake.mk
9
10 define Package/fritz-tools/Default
11 SECTION:=utils
12 CATEGORY:=Utilities
13 endef
14
15 define Package/fritz-tffs
16 $(call Package/fritz-tools/Default)
17 TITLE:=Utility to partially read the TFFS filesystems
18 endef
19
20 define Package/fritz-tffs/description
21 Utility to partially read the TFFS filesystems.
22 endef
23
24 define Package/fritz-tffs-nand
25 $(call Package/fritz-tools/Default)
26 TITLE:=Utility to partially read the TFFS filesystems on NAND flash
27 endef
28
29 define Package/fritz-tffs-nand/description
30 Utility to partially read the TFFS filesystems on NAND flash.
31 endef
32
33 define Package/fritz-caldata
34 $(call Package/fritz-tools/Default)
35 DEPENDS:=+zlib
36 TITLE:=Utility to extract WLAN calibration data
37 endef
38
39 define Package/fritz-caldata/description
40 Utility to extract the zlib compress calibration data from flash.
41 endef
42
43 define Package/fritz-tffs/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_tffs_read $(1)/usr/bin/fritz_tffs
46 endef
47
48 define Package/fritz-tffs-nand/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_tffs_nand_read $(1)/usr/bin/fritz_tffs_nand
51 endef
52
53 define Package/fritz-caldata/install
54 $(INSTALL_DIR) $(1)/usr/bin
55 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_cal_extract $(1)/usr/bin/
56 endef
57
58 $(eval $(call BuildPackage,fritz-tffs))
59 $(eval $(call BuildPackage,fritz-tffs-nand))
60 $(eval $(call BuildPackage,fritz-caldata))