2019-08-22 19:33:21 +02:00
|
|
|
# Template file for 'libknet1'
|
2019-09-04 23:59:15 +02:00
|
|
|
# only libraries and development files now, if interested in kronosnetd update!
|
2019-08-22 19:33:21 +02:00
|
|
|
pkgname=libknet1
|
|
|
|
version=1.11
|
2019-09-04 23:59:15 +02:00
|
|
|
revision=2
|
2019-08-22 19:33:21 +02:00
|
|
|
wrksrc=kronosnet-${version}
|
|
|
|
build_style=gnu-configure
|
2019-09-04 23:59:15 +02:00
|
|
|
configure_args="--disable-dependency-tracking --disable-libknet-sctp
|
|
|
|
--disable-kronosnetd --disable-poc --disable-static"
|
|
|
|
hostmakedepends="automake doxygen libtool libxml2-devel pkg-config libqb-devel"
|
|
|
|
makedepends="bzip2-devel liblz4-devel liblzma-devel libnl3-devel libqb-devel
|
|
|
|
libressl-devel libxml2-devel libzstd-devel lzo-devel nss-devel zlib-devel"
|
2019-08-22 19:33:21 +02:00
|
|
|
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
|
|
|
|
|
2019-09-04 23:59:15 +02:00
|
|
|
patch_args='-Np1'
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2019-08-30 16:41:18 +02:00
|
|
|
|
2019-08-22 19:33:21 +02:00
|
|
|
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() {
|
2019-09-04 23:59:15 +02:00
|
|
|
vmove usr/include/libknet.h
|
|
|
|
vmove usr/lib/libknet.so
|
|
|
|
vmove usr/lib/pkgconfig/libknet.pc
|
|
|
|
vmove "usr/share/man/man3/knet*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnozzle1_package() {
|
|
|
|
short_desc="Userland wrapper around kernel tap devices"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libnozzle.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnozzle1-devel_package() {
|
|
|
|
depends="libnozzle1>=${version}_${revision}"
|
|
|
|
short_desc="Userland wrapper around kernel tap devices (development files)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/libnozzle.h
|
|
|
|
vmove usr/lib/libnozzle.so
|
|
|
|
vmove usr/lib/pkgconfig/libnozzle.pc
|
|
|
|
vmove "usr/share/man/man3/nozzle*"
|
2019-08-22 19:33:21 +02:00
|
|
|
}
|
|
|
|
}
|