x11_ssh_askpass: clean up & add man page
This commit is contained in:
parent
93168d887c
commit
8bd8c09f98
@ -1,20 +1,28 @@
|
|||||||
{stdenv, fetchurl, xlibsWrapper, imake}:
|
{ stdenv, fetchurl, xlibsWrapper, imake }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "x11-ssh-askpass-1.2.4.1";
|
name = "x11-ssh-askpass-1.2.4.1";
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz;
|
url = http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz;
|
||||||
sha1 = "78c992951685d4dbffb77536f37b83ae2a6eafc7";
|
sha1 = "78c992951685d4dbffb77536f37b83ae2a6eafc7";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "
|
nativeBuildInputs = [ imake ];
|
||||||
configureFlags=\"--with-app-defaults-dir=$out/etc/X11/app-defaults\"
|
buildInputs = [ xlibsWrapper ];
|
||||||
";
|
|
||||||
|
|
||||||
buildPhase = "xmkmf; make includes; make";
|
configureFlags = [
|
||||||
|
"--with-app-defaults-dir=$out/etc/X11/app-defaults"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [xlibsWrapper imake];
|
preBuild = ''
|
||||||
|
xmkmf
|
||||||
|
make includes
|
||||||
|
'';
|
||||||
|
|
||||||
|
installTargets = [ "install" "install.man" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.jmknoble.net/software/x11-ssh-askpass/;
|
homepage = http://www.jmknoble.net/software/x11-ssh-askpass/;
|
||||||
|
Loading…
Reference in New Issue
Block a user