void-packages/srcpkgs/fstrm/template

34 lines
878 B
Bash

# Template file for 'fstrm'
pkgname=fstrm
version=0.5.0
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.org>"
license="MIT"
homepage="https://github.com/farsightsec/fstrm"
#changelog="https://raw.githubusercontent.com/farsightsec/fstrm/master/ChangeLog"
distfiles="https://github.com/farsightsec/fstrm/archive/v${version}.tar.gz"
checksum=ca762fb260176f35af639376cc65c3f13a5f63d1cca42eb5ce87caca8d57c450
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
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"
}
}