24 lines
652 B
Bash
24 lines
652 B
Bash
|
# Template file for 'libserialport'
|
||
|
pkgname=libserialport
|
||
|
version=0.1.1
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
short_desc="Cross-platform library for accessing serial ports"
|
||
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||
|
license="GPL-3"
|
||
|
homepage="https://sigrok.org/"
|
||
|
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"
|
||
|
}
|
||
|
}
|
||
|
|