31 lines
980 B
Bash
31 lines
980 B
Bash
# Template file for 'libsigrokdecode'
|
|
pkgname=libsigrokdecode
|
|
version=0.5.3
|
|
revision=6
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python3 autoconf automake"
|
|
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/"
|
|
changelog="https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blob_plain;f=NEWS;hb=refs/heads/libsigrokdecode-${version%.*}.x"
|
|
distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=c50814aa6743cd8c4e88c84a0cdd8889d883c3be122289be90c63d7d67883fc0
|
|
|
|
pre_configure() {
|
|
autoreconf
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|