# Maintainer: Natanael Copa pkgname=lksctp-tools pkgver=1.0.17 pkgrel=0 pkgdesc="User-space access to Linux Kernel SCTP" url="http://lksctp.sourceforge.net" arch="all" options="!check" # sctp_connectx in v4test fails on kernel 4.14 license="GPL-2.0 and GPL-2.0-or-later and LGPL-2.0 and MIT" depends="" makedepends="libtool automake autoconf linux-headers" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz" prepare() { cd "$builddir" default_prepare if ! [ -e configure ]; then ./bootstrap fi } build() { cd "$builddir" ./configure \ --prefix=/usr \ --disable-static make } check() { cd "$builddir"/src/func_tests make v4test make v6test } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="055719130b7dda4da9cf002dcd5f1fb3d8cf75300a99365976e087b2b6971b4ccd357f95b515a44e37874af161f7b7f9b42c60191aff938d18fada5a49aa44c4 lksctp-tools-1.0.17.tar.gz"