net-mail/checkpassword: drop old EAPI

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2019-11-10 11:34:33 -05:00
parent 54bef65f77
commit 7886d8be74

View File

@@ -1,37 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=0
inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="A uniform password checking interface for root applications"
HOMEPAGE="https://cr.yp.to/checkpwd.html"
SRC_URI="https://cr.yp.to/checkpwd/${P}.tar.gz"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="static"
RESTRICT="mirror bindist"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-errno.patch
epatch "${FILESDIR}"/${PV}-head-1.patch
use static && append-ldflags -static
}
src_compile() {
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
make || die "Error in make"
}
src_install() {
into /
dobin checkpassword || die
dodoc CHANGES README TODO VERSION FILES SYSDEPS TARGETS
}