fc50464ee0
Use system sqlite3 (patch from Gentoo).
36 lines
934 B
Bash
36 lines
934 B
Bash
# Template file for 'sleuthkit'
|
|
pkgname=sleuthkit
|
|
version=4.2.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
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="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=91b287f19798ae480083c15401686e4a041c15f7a92054a5c0320bcb65604723
|
|
|
|
post_extract() {
|
|
sed -i 's/daddr_t/uint32_t/g' tools/srchtools/sigfind.cpp
|
|
}
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
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"
|
|
}
|
|
}
|