You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=hashdeep
  3. PKG_VERSION:=4.4
  4. PKG_RELEASE:=2
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/jessek/hashdeep/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=ad78d42142f9a74fe8ec0c61bc78d6588a528cbb9aede9440f50b6ff477f3a7f
  8. PKG_MAINTAINER:=Tobe Deprez <trldp@outlook.com>
  9. PKG_LICENSE:=NLPL
  10. PKG_LICENSE_FILES:=COPYING
  11. PKG_FIXUP:=autoreconf
  12. PKG_INSTALL:=1
  13. PKG_BUILD_PARALLEL:=1
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/hashdeep
  16. SECTION:=utils
  17. CATEGORY:=Utilities
  18. TITLE:=Recursively compute hashsums or piecewise hashings
  19. URL:=http://md5deep.sourceforge.net/
  20. DEPENDS:=+libstdcpp
  21. endef
  22. define Package/hashdeep/description
  23. hashdeep is a set of tools to compute MD5, SHA1, SHA256, tiger
  24. and whirlpool hashsums of arbitrary number of files recursively.
  25. endef
  26. define Package/hashdeep/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/hashdeep \
  29. $(PKG_INSTALL_DIR)/usr/bin/md5deep \
  30. $(PKG_INSTALL_DIR)/usr/bin/sha1deep \
  31. $(PKG_INSTALL_DIR)/usr/bin/sha256deep \
  32. $(PKG_INSTALL_DIR)/usr/bin/tigerdeep \
  33. $(PKG_INSTALL_DIR)/usr/bin/whirlpooldeep \
  34. $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,hashdeep))