void-packages/srcpkgs/sleuthkit/template
2015-05-19 19:38:41 +02:00

33 lines
868 B
Bash

# Template file for 'sleuthkit'
pkgname=sleuthkit
version=4.1.3
revision=4
build_style=gnu-configure
makedepends="zlib-devel libewf-devel"
short_desc="File system and media management forensic analysis tools"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2,IBM-PL-1.0,CPL-1.0"
homepage="http://www.sleuthkit.org/"
hostmakedepends="perl"
depends="perl"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=67f9d2a31a8884d58698d6122fc1a1bfa9bf238582bde2b49228ec9b899f0327
post_extract() {
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
}
post_install() {
for l in licenses/*; do
vlicense $l
done
}
sleuthkit-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}