vp-build/srcpkgs/haveged/template

36 lines
801 B
Bash

# Template file for 'haveged'
pkgname=haveged
version=1.9.2
revision=1
build_style=gnu-configure
short_desc="Entropy harvesting daemon using CPU timings"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.issihosts.com/haveged"
distfiles="http://www.issihosts.com/haveged/${pkgname}-${version}.tar.gz"
checksum=f77d9adbdf421b61601fa29faa9ce3b479d910f73c66b9e364ba8642ccbfbe70
configure_args="--sbindir=/usr/bin"
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
}
}