summaryrefslogtreecommitdiff
blob: b24f5c80420805ca7fa05bff313f47232099b955 (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
34
# Copyright 1999-2004 Gentoo Foundation
# 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.18 2004/07/14 23:02:34 agriffis 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 s390"
IUSE=""

RDEPEND="virtual/libc"

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
}