2007-06-25 22:46:18 +01:00
|
|
|
{stdenv, fetchurl, libX11, libXi, imake, xauth, libXau}:
|
|
|
|
stdenv.mkDerivation {
|
2007-06-26 13:13:17 +01:00
|
|
|
name = "xmove-2.0b2";
|
2007-06-25 22:46:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-21 22:52:24 +01:00
|
|
|
url = mirror://debian/pool/main/x/xmove/xmove_2.0beta2.orig.tar.gz;
|
2007-06-25 22:46:18 +01:00
|
|
|
sha256 = "0q310k3bi39vdk0kqqvsahnb1k6lx9hlx80iyxnkq59l6jxnhyhf";
|
|
|
|
};
|
|
|
|
|
2007-10-26 06:44:38 +01:00
|
|
|
buildPhase = "cd xmove; sed -e 's/.*No address for our host.*/{hp = gethostbyname(\"localhost\");};/' -i main.c; cp ../man/man1/xmove.1 xmove.man ; xmkmf; make; cd .. ; cd xmovectrl ; cp ../man/man1/xmovectrl.1 xmovectrl.man; xmkmf; make ; cd ..";
|
2007-06-25 22:46:18 +01:00
|
|
|
installPhase = "cd xmove; make install install.man MANDIR=\${out}/man/man1 BINDIR=\${out}/bin; cd .. ; cd xmovectrl ; make install install.man MANDIR=\${out}/man/man1 BINDIR=\${out}/bin; cd ..";
|
|
|
|
|
|
|
|
buildInputs = [libX11 libXi imake xauth libXau];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2018-08-02 15:09:09 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2007-06-25 22:46:18 +01:00
|
|
|
}
|