diff --git a/common/shlibs b/common/shlibs index 74c27e6730a..c1deadaf9eb 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4169,3 +4169,4 @@ libThread.so root-6.24.06_1 libTMVA.so root-6.24.06_1 libMathCore.so root-6.24.06_1 liblowdown.so lowdown-0.11.2_1 +libjaylink.so.0 libjaylink-0.2.0_1 diff --git a/srcpkgs/libjaylink-devel b/srcpkgs/libjaylink-devel new file mode 120000 index 00000000000..cb83e11967d --- /dev/null +++ b/srcpkgs/libjaylink-devel @@ -0,0 +1 @@ +libjaylink \ No newline at end of file diff --git a/srcpkgs/libjaylink/template b/srcpkgs/libjaylink/template new file mode 100644 index 00000000000..9bb202af8dc --- /dev/null +++ b/srcpkgs/libjaylink/template @@ -0,0 +1,28 @@ +# Template file for 'libjaylink' +pkgname=libjaylink +version=0.2.0 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool pkg-config" +makedepends="libusb-devel" +short_desc="Library to access SEGGER J-Link and compatible devices" +maintainer="classabbyamp " +license="GPL-2.0-or-later" +homepage="https://gitlab.zapb.de/libjaylink/libjaylink" +distfiles="https://gitlab.zapb.de/libjaylink/libjaylink/-/archive/${version}/libjaylink-${version}.tar.gz" +checksum=ac10d03088a2f28ebfc0411f9e617433936220dc183050f2e429694dcadc4f2a + +pre_configure() { + ./autogen.sh +} + +libjaylink-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" + } +}