25 lines
749 B
Bash
25 lines
749 B
Bash
|
# Template file for 'libsigrokdecode'
|
||
|
pkgname=libsigrokdecode
|
||
|
version=0.4.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"
|
||
|
homepage="https://sigrok.org/"
|
||
|
distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz"
|
||
|
checksum=065f70c10971173d86e03a8cf5534e600c7a622775113997d8061572135d4a95
|
||
|
|
||
|
libsigrokdecode-devel_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.a"
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|