summaryrefslogtreecommitdiff
blob: 776d14fa7d938f2113691c638c079b720ee2db26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/mingetty-1.00.3.ebuild,v 1.13 2004/05/04 03:47:33 tgall Exp $

inherit rpm eutils

RHP=${PN}-1.00
S=${WORKDIR}/${RHP}
MYP=${PN}-1.00-3
DESCRIPTION="A compact getty program for virtual consoles only."
SRC_URI="http://distro.ibiblio.org/pub/Linux/distributions/redhat/8.0/en/os/i386/SRPMS/${MYP}.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/SRPMS/${MYP}.src.rpm"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc hppa amd64 alpha sparc ia64 ~mips ppc64"

RDEPEND="virtual/glibc"

src_unpack() {
	rpm_src_unpack
	epatch ${FILESDIR}/mingetty-1.00-autologin.patch
}

src_compile() {
	emake RPM_OPTS="${CFLAGS}" || die
}

src_install () {
	into /
	dosbin mingetty
	doman mingetty.8
}