# Template file for 'ssdeep'
pkgname=ssdeep
version=2.13
revision=2
build_style=gnu-configure
short_desc="Compute context triggered piecewise hashes"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://ssdeep.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6e4ca94457cb50ff3343d4dd585473817a461a55a666da1c5a74667924f0f8c5

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"
	}
}
