2014-12-10 15:15:03 +00:00
|
|
|
# Template file for 'haveged'
|
|
|
|
pkgname=haveged
|
|
|
|
version=1.9.1
|
2015-08-18 10:42:30 +00:00
|
|
|
revision=6
|
2014-12-10 15:15:03 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="Entropy harvesting daemon using CPU timings"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-12-10 15:15:03 +00:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.issihosts.com/haveged"
|
2015-11-28 10:24:59 +00:00
|
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
2014-12-10 15:15:03 +00:00
|
|
|
checksum=9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715
|
2015-06-02 16:27:24 +00:00
|
|
|
configure_args="--sbindir=/usr/bin"
|
2015-07-26 00:10:12 +00:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*) ;;
|
|
|
|
esac
|
2014-12-10 15:15:03 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|