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.

44 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ssdeep
  9. PKG_VERSION:=2.14.1
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/ssdeep-project/ssdeep/releases/download/release-$(PKG_VERSION)/
  13. PKG_HASH:=ff2eabc78106f009b4fb2def2d76fb0ca9e12acf624cbbfad9b3eb390d931313
  14. PKG_FIXUP:=autoreconf
  15. PKG_BUILD_PARALLEL:=1
  16. PKG_LICENSE:=GPL-2.0
  17. PKG_LICENSE_FILES:=COPYING
  18. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/ssdeep
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. TITLE:=A program to compute and match fuzzy hashes
  24. URL:=https://ssdeep-project.github.io/ssdeep
  25. DEPENDS:=+libstdcpp
  26. endef
  27. define Package/ssdeep/description
  28. ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies.
  29. endef
  30. define Package/ssdeep/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssdeep $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,ssdeep))