void-packages/srcpkgs/libsigrokdecode/template
Johannes 27c2a4ec96 libsigrokdecode: add patch for python3.9
without, libsigrokdecode does not link against libpython3.9
2020-11-07 16:04:48 +01:00

29 lines
853 B
Bash

# Template file for 'libsigrokdecode'
pkgname=libsigrokdecode
version=0.5.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config python3 autoconf automake"
makedepends="glib-devel python3-devel"
checkdepends="check-devel"
short_desc="C library provides basic API for running sigrok protocol decoders"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3.0-or-later"
homepage="https://sigrok.org/"
distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=c50814aa6743cd8c4e88c84a0cdd8889d883c3be122289be90c63d7d67883fc0
pre_configure() {
autoreconf
}
libsigrokdecode-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}