void-packages/srcpkgs/libserialport/template

24 lines
768 B
Bash

# Template file for 'libserialport'
pkgname=libserialport
version=0.1.1
revision=4
build_style=gnu-configure
short_desc="Cross-platform library for accessing serial ports"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="LGPL-3.0-or-later"
homepage="https://sigrok.org/wiki/Libserialport"
changelog="https://sigrok.org/gitweb/?p=libserialport.git;a=blob_plain;f=NEWS;hb=HEAD"
distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d
libserialport-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"
}
}