void-packages/srcpkgs/sleuthkit/template
2019-05-02 10:56:08 +02:00

34 lines
934 B
Bash

# Template file for 'sleuthkit'
pkgname=sleuthkit
version=4.6.6
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="libewf-devel sqlite-devel zlib-devel"
depends="perl"
checkdepends="wget"
short_desc="File system and media management forensic analysis tools"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only, IPL-1.0, CPL-1.0"
homepage="https://www.sleuthkit.org/"
distfiles="https://github.com/sleuthkit/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=ec469d9a385ef5e2dd5fef53ba828ba1f841a3639b1049da24bcfde3cde9a094
post_extract() {
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
}
pre_configure() {
./bootstrap
}
sleuthkit-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}