void-packages/srcpkgs/ssdeep/template
Piotr Wójcik 2ff6f99216 ssdeep: update to 2.14.1.
Closes #14529.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-27 00:37:14 +02:00

33 lines
866 B
Bash

# Template file for 'ssdeep'
pkgname=ssdeep
version=2.14.1
revision=1
wrksrc="ssdeep-release-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Compute context triggered piecewise hashes"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2.0-only"
homepage="https://ssdeep-project.github.io/ssdeep/"
distfiles="https://github.com/ssdeep-project/ssdeep/archive/release-${version}.tar.gz"
checksum=d96f667a8427ad96da197884574c7ca8c7518a37d9ac8593b6ea77e7945720a4
pre_configure() {
autoreconf -fi
}
libfuzzy_package() {
short_desc="Fuzzy hashing API"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libfuzzy-devel_package() {
depends="libfuzzy>=${version}_${revision}"
short_desc="Fuzzy hashing API -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}