25 lines
764 B
Bash
25 lines
764 B
Bash
# Template file for 'libsigrokdecode'
|
|
pkgname=libsigrokdecode
|
|
version=0.5.0
|
|
revision=4
|
|
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=4aa8579ecea9b421b8ac048a9b18c27e63206839f269374398d89c14a47bd1c1
|
|
|
|
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"
|
|
}
|
|
}
|