37 lines
990 B
Bash
37 lines
990 B
Bash
# Template file for 'sleuthkit'
|
|
pkgname=sleuthkit
|
|
version=4.6.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
|
hostmakedepends="perl automake libtool"
|
|
makedepends="zlib-devel libewf-devel sqlite-devel"
|
|
depends="perl"
|
|
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/"
|
|
distfiles="https://github.com/sleuthkit/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
|
checksum=ad3e26958234c9e866dfbfb751bcd6ed300ff76446dc6767a6f9083df4bf4974
|
|
|
|
post_extract() {
|
|
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
|
|
}
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
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"
|
|
}
|
|
}
|