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.

45 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=1
  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)/uclibc++.mk
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/ssdeep
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. TITLE:=A program to compute and match fuzzy hashes
  25. URL:=https://ssdeep-project.github.io/ssdeep
  26. DEPENDS:=$(CXX_DEPENDS)
  27. endef
  28. define Package/ssdeep/description
  29. ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies.
  30. endef
  31. define Package/ssdeep/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssdeep $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,ssdeep))