# Template file for 'libewf'
pkgname=libewf
version=20240506
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config flex byacc autoconf automake gettext-devel libtool"
makedepends="zlib-devel bzip2-devel libuuid-devel fuse-devel"
short_desc="Libewf and tooling to access the Expert Witness Compression Format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://github.com/libyal/libewf"
distfiles="https://github.com/libyal/libewf/releases/download/${version}/libewf-experimental-${version}.tar.gz"
checksum=247d8ee9572392a2404be514d1137f099970f41f240c1134ddc3f04322281c67
#disable checks as no test files are provided by project: https://github.com/libyal/libewf/wiki/Testing
make_check=no

libewf-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
	}
}
