void-packages/srcpkgs/sleuthkit/template
Juan RP 85c4cac7cc sleuthkit: zlib-devel must in makedepends for cross builds.
... otherwise only native builds are linked to libz.
2015-02-03 08:26:36 +01:00

30 lines
790 B
Bash

# Template file for 'sleuthkit'
pkgname=sleuthkit
version=4.1.3
revision=3
build_style=gnu-configure
makedepends="zlib-devel libewf-devel"
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/"
hostmakedepends="perl"
depends="perl"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=67f9d2a31a8884d58698d6122fc1a1bfa9bf238582bde2b49228ec9b899f0327
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"
}
}