2014-07-24 17:10:20 +00:00
|
|
|
# Template file for 'dieharder'
|
|
|
|
pkgname=dieharder
|
|
|
|
version=3.31.1
|
2015-03-24 13:42:17 +00:00
|
|
|
revision=2
|
2014-07-24 17:10:20 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
disable_parallel_build=yes
|
|
|
|
makedepends="gsl-devel"
|
|
|
|
short_desc="A testing and benchmarking tool for random number generators"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.phy.duke.edu/~rgb/General/dieharder.php"
|
|
|
|
distfiles="http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${version}.tgz"
|
|
|
|
checksum=6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f
|
|
|
|
|
2015-03-24 13:42:17 +00:00
|
|
|
CFLAGS="-D_GNU_SOURCE"
|
|
|
|
|
2014-07-24 17:10:20 +00:00
|
|
|
post_configure() {
|
|
|
|
sed -i '/^AM_CPPFLAGS/s, -I \${includedir},,
|
|
|
|
s,-I${prefix}/include,,' Makefile */Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
dieharder-devel_package() {
|
2014-11-23 14:39:02 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
2014-07-24 17:10:20 +00:00
|
|
|
}
|