25 lines
775 B
Bash
25 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"
|
|
}
|
|
}
|