void-packages/srcpkgs/sleuthkit/template
Christian Neukirchen fc50464ee0 sleuthkit: update to 4.2.0.
Use system sqlite3 (patch from Gentoo).
2015-09-17 14:39:45 +02:00

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"
}
}