Commit 7422bcab authored by A. Wilcox's avatar A. Wilcox Committed by Ariadne Conill

main/lksctp-tools: modernise, mark tests broken

parent fe412952
......@@ -5,42 +5,39 @@ 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=""
depends_dev=""
makedepends="$depends_dev libtool automake autoconf linux-headers"
makedepends="libtool automake autoconf linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz"
_builddir="$srcdir"/lksctp-tools-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
cd "$builddir"
default_prepare
if ! [ -e configure ]; then
./bootstrap
fi
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-static \
|| return 1
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 || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
md5sums="68e9b8fa4d4e331029b247b72d46d7a5 lksctp-tools-1.0.17.tar.gz"
sha256sums="1aeb204cdb2befc94d9eb3037d1609c9d1d2cd5379d6dd2c0a8ca9b10533aa15 lksctp-tools-1.0.17.tar.gz"
sha512sums="055719130b7dda4da9cf002dcd5f1fb3d8cf75300a99365976e087b2b6971b4ccd357f95b515a44e37874af161f7b7f9b42c60191aff938d18fada5a49aa44c4 lksctp-tools-1.0.17.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment