2010-07-28 04:55:54 -07:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2008-01-28 11:43:03 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-28 04:55:54 -07:00
|
|
|
name = "pth-2.0.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/pth/${name}.tar.gz";
|
|
|
|
sha256 = "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj";
|
|
|
|
};
|
2008-01-28 11:43:03 -08:00
|
|
|
|
2012-11-15 02:18:38 -08:00
|
|
|
preConfigure = stdenv.lib.optionalString stdenv.isArm ''
|
|
|
|
configureFlagsArray=("CFLAGS=-DJB_SP=8 -DJB_PC=9")
|
|
|
|
'';
|
2012-11-14 14:20:47 -08:00
|
|
|
|
2010-07-28 04:55:54 -07:00
|
|
|
meta = {
|
|
|
|
description = "The GNU Portable Threads library";
|
|
|
|
homepage = http://www.gnu.org/software/pth;
|
2011-11-01 15:38:05 -07:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-07-28 04:55:54 -07:00
|
|
|
};
|
2008-01-28 11:43:03 -08:00
|
|
|
}
|