get recode testsuite running.

This commit is contained in:
Jack Cummings
2013-03-06 01:07:54 -08:00
parent e61bdcfacd
commit ed99c87a26
3 changed files with 11 additions and 43 deletions
+11 -1
View File
@@ -1,4 +1,6 @@
{stdenv, fetchgit}:
# XXX: this may need -liconv on non-glibc systems..
{stdenv, fetchgit, python, perl}:
stdenv.mkDerivation rec {
name = "recode-3.7-pff85fdbd";
@@ -9,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "1xhlfmqld6af16l444jli9crj9brym2jihg1n6lkxh2gar68f5l7";
};
buildInputs = [ python perl ];
doCheck = true;
preCheck = ''
checkFlagsArray=(LDFLAGS="-L../src/.libs -Wl,-rpath=../src/.libs")
'';
meta = {
homepage = "http://www.gnu.org/software/recode/";
description = "Converts files between various character sets and usages";