* TightVNC.
svn path=/nixpkgs/trunk/; revision=5698
This commit is contained in:
parent
98b71debbe
commit
05094496b4
16
pkgs/tools/admin/tightvnc/builder.sh
Normal file
16
pkgs/tools/admin/tightvnc/builder.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
source $stdenv/setup
|
||||
|
||||
buildPhase=buildPhase
|
||||
buildPhase() {
|
||||
xmkmf
|
||||
make World
|
||||
}
|
||||
|
||||
installPhase=installPhase
|
||||
installPhase() {
|
||||
ensureDir $out/bin
|
||||
ensureDir $out/man/man1
|
||||
./vncinstall $out/bin $out/man
|
||||
}
|
||||
|
||||
genericBuild
|
11
pkgs/tools/admin/tightvnc/default.nix
Normal file
11
pkgs/tools/admin/tightvnc/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{stdenv, fetchurl, x11, zlib, libjpeg, imake, gccmakedep, libXmu, libXaw, libXpm, libXp}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tightvnc-1.3dev7";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/vnc-tight/tightvnc-1.3dev7_unixsrc.tar.bz2;
|
||||
md5 = "8e9e63f19d8351a5359c0cc15d96c18c";
|
||||
};
|
||||
buildInputs = [x11 zlib libjpeg imake gccmakedep libXmu libXaw libXpm libXp];
|
||||
}
|
|
@ -382,6 +382,11 @@ rec {
|
|||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
tightvnc = import ../tools/admin/tightvnc {
|
||||
inherit fetchurl stdenv x11 zlib libjpeg;
|
||||
inherit (xlibs) imake gccmakedep libXmu libXaw libXpm libXp;
|
||||
};
|
||||
|
||||
|
||||
### SHELLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue