26 lines
802 B
Bash
26 lines
802 B
Bash
# Template file for 'libsigrokdecode'
|
|
pkgname=libsigrokdecode
|
|
version=0.5.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python3"
|
|
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=e08d9e797c54eccf3144da631b6e5f1498ac531e51520428df537a1da82583f0
|
|
|
|
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"
|
|
}
|
|
}
|