1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs eutils
8 DESCRIPTION="A compact getty program for virtual consoles only"
9 HOMEPAGE="https://sourceforge.net/projects/mingetty"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14 KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
18 "${FILESDIR}/${PN}-1.08-check_chroot_chdir_nice.patch"
22 use unicode && eapply "${FILESDIR}"/${PN}-1.08-utf8.patch
27 emake CFLAGS="${CFLAGS} -Wall -W -pipe -D_GNU_SOURCE" CC="$(tc-getCC)"
31 dodir /sbin /usr/share/man/man8
32 emake DESTDIR="${D}" install