23 lines
681 B
Bash
23 lines
681 B
Bash
# Template file for 'libserialport'
|
|
pkgname=libserialport
|
|
version=0.1.1
|
|
revision=2
|
|
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"
|
|
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"
|
|
}
|
|
}
|