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