void-packages/srcpkgs/haveged/template
Anthony Iliopoulos bb664068d0 haveged: update to 1.9.14.
Closes: #28162 [via git-merge-pr]
2021-01-29 08:48:59 -06:00

33 lines
785 B
Bash

# Template file for 'haveged'
pkgname=haveged
version=1.9.14
revision=1
build_style=gnu-configure
short_desc="Entropy harvesting daemon using CPU timings"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="GPL-3.0-or-later"
homepage="http://www.issihosts.com/haveged"
distfiles="https://github.com/jirka-h/haveged/archive/v${version}.tar.gz"
checksum=938cb494bcad7e4f24e61eb50fab4aa0acbc3240c80f3ad5c6cf7e6e922618c3
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
}
}