void-packages/srcpkgs/lksctp-tools/template

30 lines
876 B
Bash

# Template file for 'lksctp-tools'
pkgname=lksctp-tools
version=1.0.19
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool linux-headers"
short_desc="User-space access to Linux Kernel SCTP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-only"
homepage="http://lksctp.sourceforge.net"
changelog="https://raw.githubusercontent.com/sctp/lksctp-tools/master/ChangeLog"
distfiles="https://github.com/sctp/lksctp-tools/archive/v${version}.tar.gz"
checksum=9251b1368472fb55aaeafe4787131bdde4e96758f6170620bc75b638449cef01
pre_configure() {
autoreconf -fi
}
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
}
}