void-packages/srcpkgs/fstrm/template

29 lines
760 B
Bash

# Template file for 'fstrm'
pkgname=fstrm
version=0.3.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libevent-devel"
short_desc="C implementation of the Frame Streams data transport protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="https://github.com/farsightsec/fstrm"
distfiles="https://github.com/farsightsec/fstrm/archive/v${version}.tar.gz"
checksum=a61ec0bb88b1e7bab05a6c854219deb451137c4de15800fc1ee2bee4b9b0d22a
pre_configure() {
autoreconf -fi
}
fstrm-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}