31 lines
930 B
Bash
31 lines
930 B
Bash
# Template file for 'libkdumpfile'
|
|
pkgname=libkdumpfile
|
|
version=0.5.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="PYTHON=python3"
|
|
hostmakedepends="automake pkg-config libtool python3-setuptools"
|
|
makedepends="libzstd-devel lzo-devel python3-devel snappy-devel zlib-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"
|
|
checksum=c09691c340ef875f37745610e26aab00551e1cfa626a20c3544b4f729fe5322c
|
|
nocross="python3-module inside"
|
|
|
|
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
|
|
}
|
|
}
|