79961b243c
close #3069
37 lines
820 B
Bash
37 lines
820 B
Bash
# Template file for 'haveged'
|
|
pkgname=haveged
|
|
version=1.9.1
|
|
revision=6
|
|
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="$homepage/$pkgname-$version.tar.gz"
|
|
checksum=9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715
|
|
configure_args="--sbindir=/usr/bin"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*) ;;
|
|
esac
|
|
|
|
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
|
|
}
|
|
}
|