36 lines
986 B
Bash
36 lines
986 B
Bash
# Template file for 'sleuthkit'
|
|
pkgname=sleuthkit
|
|
version=4.11.0
|
|
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/"
|
|
changelog="https://github.com/sleuthkit/sleuthkit/releases"
|
|
distfiles="https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-${version}.tar.gz"
|
|
checksum=f0c0e7a72135c6033a40f87514808e8d0d81716a719a29face3980897037bf95
|
|
|
|
post_extract() {
|
|
sed -i 's:sys/fcntl.h:fcntl.h:g' tsk/fs/tsk_fs_i.h
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|