From e5a92ac64c003f1045bd40a1bab39b351c8980d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= Date: Thu, 22 Aug 2019 19:33:21 +0200 Subject: [PATCH] New package: libknet1 / libknet1-devel --- common/shlibs | 1 + srcpkgs/libknet1-devel | 1 + srcpkgs/libknet1/template | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 120000 srcpkgs/libknet1-devel create mode 100644 srcpkgs/libknet1/template diff --git a/common/shlibs b/common/shlibs index 259b6521a4..655134c53e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3501,3 +3501,4 @@ libnuspell.so.2 libnuspell-2.3.0_1 liblog4c.so.3 log4c-1.2.4_1 libqb.so.0 libqb-1.0.5_1 libusbguard.so.0 usbguard-0.7.5_1 +libknet.so.1 libknet1-1.11_1 diff --git a/srcpkgs/libknet1-devel b/srcpkgs/libknet1-devel new file mode 120000 index 0000000000..0dca2d6054 --- /dev/null +++ b/srcpkgs/libknet1-devel @@ -0,0 +1 @@ +libknet1 \ No newline at end of file diff --git a/srcpkgs/libknet1/template b/srcpkgs/libknet1/template new file mode 100644 index 0000000000..76e6817aa0 --- /dev/null +++ b/srcpkgs/libknet1/template @@ -0,0 +1,36 @@ +# Template file for 'libknet1' +# only library and development files now, if interested in kronosnetd update! +pkgname=libknet1 +version=1.11 +revision=1 +wrksrc=kronosnet-${version} +build_style=gnu-configure +configure_args="--disable-crypto-nss --disable-dependency-tracking + --disable-libknet-sctp --disable-libnozzle --disable-kronosnetd --disable-poc + --disable-static" +hostmakedepends="autoconf automake doxygen glibc-devel icu-devel libqb-devel + libtool libxml2-devel pkg-config" +makedepends="bzip2-devel liblz4-devel liblzma-devel libqb-devel libressl-devel + libxml2-devel libzstd-devel lzo-devel zlib-devel" +short_desc="Kronosnet core switching implementation (libraries)" +maintainer="Jiří Bělka " +license="GPL-2.0-or-later, LGPL-2.1-only" +homepage="https://www.kronosnet.org" +distfiles="https://kronosnet.org/releases/kronosnet-${version}.tar.bz2" +checksum=c2ee20a9b5b0791ed5379b38b0b51d549603933925a839f045455553f03e6114 + +post_install() { + rm -rf ${DESTDIR}/usr/share/doc/kronosnet + vdoc README +} + +libknet1-devel_package() { + depends="libknet1>=${version}_${revision}" + short_desc="Kronosnet core switching implementation (development files)" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove "usr/lib/pkgconfig" + vmove usr/share/man/man3 + } +}