void-packages/srcpkgs/haveged/template

35 lines
857 B
Bash

# Template file for 'haveged'
pkgname=haveged
version=1.9.18
revision=1
build_style=gnu-configure
short_desc="Entropy harvesting daemon using CPU timings"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.issihosts.com/haveged"
changelog="https://raw.githubusercontent.com/jirka-h/haveged/master/ChangeLog"
distfiles="https://github.com/jirka-h/haveged/archive/v${version}.tar.gz"
checksum=b835fa02b52ee7d06276e028571cadcb14d08f5e5a4b5767adf81451f70561c7
post_install() {
vsv $pkgname
}
libhaveged_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libhaveged-devel_package() {
short_desc+=" - development files"
depends="libhaveged-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man/man3
}
}