void-packages/srcpkgs/sleuthkit/template

34 lines
913 B
Bash

# Template file for 'sleuthkit'
pkgname=sleuthkit
version=4.6.1
revision=1
build_style=gnu-configure
wrksrc="${pkgname}-${pkgname}-${version}"
hostmakedepends="automake libtool"
makedepends="libewf-devel sqlite-devel zlib-devel"
depends="perl"
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="http://www.sleuthkit.org/"
distfiles="https://github.com/sleuthkit/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=bb2c936dbc88820fc4a875bc9b610f56c6a4a61b7bc8625f86be2549a948a7a9
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"
}
}