* mingetty 1.08.
svn path=/nixpkgs/trunk/; revision=13884
This commit is contained in:
parent
aa27e34a2e
commit
8b9fb752b6
|
@ -1,8 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
echo $out
|
||||
|
||||
export DESTDIR=$out
|
||||
|
||||
genericBuild
|
||||
|
|
@ -1,11 +1,19 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mingetty-1.07";
|
||||
builder = ./builder.sh;
|
||||
name = "mingetty-1.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/os/Linux/distr/debian/pool/main/m/mingetty/mingetty_1.07.orig.tar.gz;
|
||||
md5 = "491dedf1ceff0e0f5f7bb9f55bf5213e";
|
||||
url = mirror://sourceforge/mingetty/mingetty-1.08.tar.gz;
|
||||
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
ensureDir $out/sbin $out/share/man/man8
|
||||
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://sourceforge.net/projects/mingetty;
|
||||
};
|
||||
patches = [./makefile.patch];
|
||||
}
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
diff -ruN mingetty-1.07.orig/Makefile mingetty-1.07.orig.new/Makefile
|
||||
--- mingetty-1.07.orig/Makefile 2003-05-24 21:21:17.000000000 +0200
|
||||
+++ mingetty-1.07.orig.new/Makefile 2005-06-23 15:43:28.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-DESTDIR=
|
||||
+DESTDIR=$(out)
|
||||
CC=gcc
|
||||
CFLAGS=-O2 -Wall -W -pipe -D_GNU_SOURCE
|
||||
MANDIR=/usr/share/man/man8
|
||||
@@ -7,8 +7,8 @@
|
||||
all: mingetty
|
||||
|
||||
install: all
|
||||
- install -m 0755 mingetty $(DESTDIR)$(SBINDIR)
|
||||
- install -m 0644 mingetty.8 $(DESTDIR)$(MANDIR)
|
||||
+ install -D -m 0755 mingetty $(DESTDIR)$(SBINDIR)/mingetty
|
||||
+ install -D -m 0644 mingetty.8 $(DESTDIR)$(MANDIR)/mingetty.8
|
||||
|
||||
mingetty: mingetty.o
|
||||
|
Loading…
Reference in a new issue