From f67a372d314939b7ac30bc08431a5dc3aba036d4 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 24 Jul 2014 19:10:20 +0200 Subject: [PATCH] New package: dieharder-3.31.1 --- srcpkgs/dieharder-devel | 1 + srcpkgs/dieharder/template | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 120000 srcpkgs/dieharder-devel create mode 100644 srcpkgs/dieharder/template diff --git a/srcpkgs/dieharder-devel b/srcpkgs/dieharder-devel new file mode 120000 index 00000000000..d95477dce2d --- /dev/null +++ b/srcpkgs/dieharder-devel @@ -0,0 +1 @@ +dieharder \ No newline at end of file diff --git a/srcpkgs/dieharder/template b/srcpkgs/dieharder/template new file mode 100644 index 00000000000..e02700f4c1d --- /dev/null +++ b/srcpkgs/dieharder/template @@ -0,0 +1,29 @@ +# Template file for 'dieharder' +pkgname=dieharder +version=3.31.1 +revision=1 +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 " +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 + +post_configure() { + sed -i '/^AM_CPPFLAGS/s, -I \${includedir},, + s,-I${prefix}/include,,' Makefile */Makefile +} + +dieharder-devel_package() { + 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" + } +}