void-packages/srcpkgs/fstrm/template
2019-10-30 15:59:47 +01:00

33 lines
878 B
Bash

# Template file for 'fstrm'
pkgname=fstrm
version=0.6.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="Orphaned <orphan@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=82851b2424ae3e94b4fba310b60629b33d6757fbeb15662566b1857cd5c31517
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"
}
}