33 lines
817 B
Bash
33 lines
817 B
Bash
# Template file for 'ssdeep'
|
|
pkgname=ssdeep
|
|
version=2.14.1
|
|
revision=2
|
|
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"
|
|
}
|
|
}
|