2015-03-20 16:52:02 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2005-06-23 15:54:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-01-27 15:14:42 +01:00
|
|
|
name = "mingetty-1.08";
|
2015-03-20 16:52:02 +01:00
|
|
|
|
2005-06-23 15:54:34 +02:00
|
|
|
src = fetchurl {
|
2009-01-27 15:14:42 +01:00
|
|
|
url = mirror://sourceforge/mingetty/mingetty-1.08.tar.gz;
|
|
|
|
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
|
|
|
|
};
|
|
|
|
|
2010-11-23 21:47:23 +01:00
|
|
|
crossAttrs = {
|
|
|
|
makeFlags = "CC=${stdenv.cross.config}-gcc";
|
|
|
|
};
|
|
|
|
|
2009-01-27 15:14:42 +01:00
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/sbin $out/share/man/man8
|
2009-01-27 15:14:42 +01:00
|
|
|
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://sourceforge.net/projects/mingetty;
|
2015-03-20 16:52:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2005-06-23 15:54:34 +02:00
|
|
|
};
|
|
|
|
}
|