diff --git a/common/shlibs b/common/shlibs index 64743fdec7..1b292c038a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2818,3 +2818,4 @@ libmutter-cogl-pango-0.so mutter-3.24.0_1 libmozjs-.so mozjs38-38.8.0_1 libostree-1.so.1 libostree-2017.3_1 librhash.so.0 rhash-1.3.4_1 +libserialport.so.0 libserialport-0.1.1_1 diff --git a/srcpkgs/libserialport-devel b/srcpkgs/libserialport-devel new file mode 120000 index 0000000000..79777debf8 --- /dev/null +++ b/srcpkgs/libserialport-devel @@ -0,0 +1 @@ +libserialport \ No newline at end of file diff --git a/srcpkgs/libserialport/template b/srcpkgs/libserialport/template new file mode 100644 index 0000000000..3e75ad0e96 --- /dev/null +++ b/srcpkgs/libserialport/template @@ -0,0 +1,23 @@ +# 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 " +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" + } +} +