-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
33 lines (30 loc) · 877 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Template file for 'fstrm'
pkgname=fstrm
version=0.6.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="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=4f0f7ad2b760119c441aba58271e84de683b3cc138530d02710896641866e2d2
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"
}
}