122545709e
Closes: #10853 [via git-merge-pr]
37 lines
990 B
Bash
37 lines
990 B
Bash
# Template file for 'sleuthkit'
|
|
pkgname=sleuthkit
|
|
version=4.5.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=76df30d392dd4b694d5b0669afe706c17f61de9c31293f7bea52209df6357a1c
|
|
|
|
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"
|
|
}
|
|
}
|