Commit 661e7560 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/lksctp-tools: new aport

User-space access to Linux Kernel SCTP
http://lksctp.sourceforge.net
parent e4d1db2e
# Contributor:
# Maintainer:
pkgname=lksctp-tools
pkgver=1.0.14
pkgrel=0
pkgdesc="User-space access to Linux Kernel SCTP"
url="http://lksctp.sourceforge.net"
arch="all"
license="GPLv2 and GPLv2+ and LGPLv2 and MIT"
depends=""
depends_dev=""
makedepends="$depends_dev libtool automake autoconf"
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
if ! [ -e configure ]; then
./bootstrap
fi
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-static \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/lib/lksctp-tools/*.la
}
md5sums="12bc67f9b47ea631328a592ce7a53ca1 lksctp-tools-1.0.14.tar.gz"
sha256sums="301294389709d3e19bc1c27e234df5aadef00e279345d19c92f596cf1f2e4110 lksctp-tools-1.0.14.tar.gz"
sha512sums="d7ca2c17c85210020aa8247e03b3e733f168387d41c955aab3254bb03627725a54a773a924ceb6215dbe95630f698c409690e9b680e88e15779ce9a3bc11ddb7 lksctp-tools-1.0.14.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