void-packages/srcpkgs/libkdumpfile/template

30 lines
865 B
Bash
Raw Normal View History

2021-10-24 17:07:45 +00:00
# Template file for 'libkdumpfile'
pkgname=libkdumpfile
2021-11-07 15:41:26 +00:00
version=0.4.1
2021-10-24 17:07:45 +00:00
revision=1
build_style=gnu-configure
configure_args="PYTHON=python3"
hostmakedepends="automake pkg-config libtool"
makedepends="python3-devel zlib-devel lzo-devel snappy-devel"
short_desc="Kernel coredump file access library"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later, LGPL-3.0-or-later"
homepage="https://github.com/ptesarik/libkdumpfile"
distfiles="https://github.com/ptesarik/libkdumpfile/archive/refs/tags/v${version}.tar.gz"
2021-11-07 15:41:26 +00:00
checksum=766bc76a360f269f8bc3e0833e31f142efa1c7dcc4b7036df912bb5f5ef494d6
2021-10-24 17:07:45 +00:00
pre_configure() {
autoreconf -fi
}
libkdumpfile-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}