void-packages/srcpkgs/libsigrokdecode/template

29 lines
853 B
Bash

# Template file for 'libsigrokdecode'
pkgname=libsigrokdecode
version=0.5.3
revision=5
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"
}
}