2009-04-23 01:33:24 +04:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, ncurses}:
|
2009-11-05 01:38:26 +03:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libpseudo-1.2.0";
|
2009-04-23 01:33:24 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-05 01:38:26 +03:00
|
|
|
url = "mirror://sourceforge/libpseudo/${name}.tar.gz";
|
|
|
|
sha256 = "0d3pw0m3frycr3x5kzqcaj4r2qh43iv6b0fpd6l4yk0aa4a9560n";
|
2009-04-23 01:33:24 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ -e /ldconfig/d Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-19 00:16:00 +04:00
|
|
|
mkdir -p $out/include
|
|
|
|
mkdir -p $out/lib
|
2009-04-23 01:33:24 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig glib ncurses];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://libpseudo.sourceforge.net/;
|
|
|
|
description = "Simple, thread-safe messaging between threads";
|
|
|
|
license="GPLv2+";
|
|
|
|
};
|
|
|
|
}
|