34 lines
785 B
Bash
34 lines
785 B
Bash
# Template file for 'haveged'
|
|
pkgname=haveged
|
|
version=1.9.11
|
|
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=7aad5cb7a423573e3cce0cb8b2e7a51bdc1772dcf2d1b4d20d7053c7e12bc869
|
|
|
|
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
|
|
}
|
|
}
|