void-packages/srcpkgs/ssdeep/template
2019-12-25 15:26:53 +01:00

33 lines
852 B
Bash

# Template file for 'ssdeep'
pkgname=ssdeep
version=2.14.1
revision=2
wrksrc="ssdeep-release-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Compute context triggered piecewise hashes"
maintainer="Leah Neukirchen <leah@vuxu.org>"
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"
}
}