void-packages/srcpkgs/lksctp-tools/template

33 lines
864 B
Bash

# Template file for 'lksctp-tools'
pkgname=lksctp-tools
version=1.0.18
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool linux-headers"
short_desc="User-space access to Linux Kernel SCTP"
maintainer="bitshark <bitshark@bitshark.net>"
license="GPL-2.0-or-later, LGPL-2.1-only"
homepage="http://lksctp.sourceforge.net"
distfiles="https://github.com/sctp/lksctp-tools/archive/v${version}.tar.gz"
checksum=3e9ab5b3844a8b65fc8152633aafe85f406e6da463e53921583dfc4a443ff03a
pre_configure() {
autoreconf -fi
}
post_install() {
mv ${DESTDIR}/usr/include/netinet/sctp.h{.in,}
}
lksctp-tools-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}