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