New package: libknet1 / libknet1-devel

This commit is contained in:
Jiří Bělka 2019-08-22 19:33:21 +02:00 committed by Helmut Pozimski
parent 35ac982db2
commit e5a92ac64c
3 changed files with 38 additions and 0 deletions

View file

@ -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

1
srcpkgs/libknet1-devel Symbolic link
View file

@ -0,0 +1 @@
libknet1

36
srcpkgs/libknet1/template Normal file
View file

@ -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 <jirib79@gmail.com>"
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
}
}