2008-08-19 07:54:09 +02:00
|
|
|
args : with args; with builderDefs;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function (rec {
|
2008-02-22 04:06:12 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = mirror://sourceforge/libvncserver/x11vnc-0.9.3.tar.gz;
|
|
|
|
sha256 = "0sfzkbqd2d94w51czci9w5j5z67amcl1gphgg6x77dyr2h46kc0a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libXfixes fixesproto openssl libXdamage damageproto
|
|
|
|
zlib libX11 xproto libjpeg libXtst libXinerama xineramaproto
|
|
|
|
libXrandr randrproto libXext xextproto inputproto recordproto];
|
|
|
|
configureFlags = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
});
|
2008-02-22 04:06:12 +01:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "x11vnc-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A VNC server connected to a real X11 screen";
|
2008-02-22 04:06:12 +01:00
|
|
|
homepage = "http://www.karlrunge.com/x11vnc/";
|
2009-03-03 14:27:40 +01:00
|
|
|
inherit src;
|
2008-02-22 04:06:12 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|