gst1-plugins-base: update to 1.22.8
[feed/packages.git] / utils / ssdeep / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ssdeep
11 PKG_VERSION:=2.14.1
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/ssdeep-project/ssdeep/releases/download/release-$(PKG_VERSION)/
16 PKG_HASH:=ff2eabc78106f009b4fb2def2d76fb0ca9e12acf624cbbfad9b3eb390d931313
17
18 PKG_FIXUP:=autoreconf
19 PKG_BUILD_PARALLEL:=1
20
21 PKG_LICENSE:=GPL-2.0
22 PKG_LICENSE_FILES:=COPYING
23 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/ssdeep
28 SECTION:=utils
29 CATEGORY:=Utilities
30 TITLE:=A program to compute and match fuzzy hashes
31 URL:=https://ssdeep-project.github.io/ssdeep
32 DEPENDS:=+libstdcpp
33 endef
34
35 define Package/ssdeep/description
36 ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies.
37 endef
38
39 define Package/ssdeep/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssdeep $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,ssdeep))