void-packages/srcpkgs/libsigrokdecode/template
maxice8 719d39767a libsigrokdecode: update to 0.5.1.
Closes #13599.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-18 23:19:10 +02:00

24 lines
775 B
Bash

# Template file for 'libsigrokdecode'
pkgname=libsigrokdecode
version=0.5.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="glib-devel python3-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=493d8b555ae4c245a5feebbd94de33aec7ee85a4f16bc3f4c3985961b459b51e
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"
}
}