2009-04-22 23:33:24 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, ncurses, gpm}:
|
2009-11-04 23:38:26 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libviper-1.4.5";
|
2009-04-22 23:33:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-04 23:38:26 +01:00
|
|
|
url = "mirror://sourceforge/libviper/${name}.tar.gz";
|
|
|
|
sha256 = "1lryqv9xfsshx8x8c858h8fmsi2fkja0mhw415wa2bj9cqyb8byz";
|
2009-04-22 23:33:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ -e /ldconfig/d -e '/cd vdk/d' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/include
|
|
|
|
mkdir -p $out/lib
|
2009-04-22 23:33:24 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig glib ncurses gpm];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://libviper.sourceforge.net/;
|
|
|
|
description = "Simple window creation and management facilities for the console";
|
|
|
|
license="GPLv2+";
|
|
|
|
};
|
|
|
|
}
|