You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/checkpassword/checkpassword-0.90-r3.ebuild

39 lines
857 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils fixheadtails flag-o-matic qmail
DESCRIPTION="A uniform password checking interface for root applications"
HOMEPAGE="http://cr.yp.to/checkpwd.html"
SRC_URI="http://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 ~x86-fbsd"
IUSE="static"
RESTRICT="mirror bindist"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-errno.patch
epatch "${FILESDIR}"/${PV}-exit.patch
ht_fix_file Makefile print-cc.sh
use static && append-ldflags -static
}
src_compile() {
qmail_set_cc
make || die
}
src_install() {
into /
dobin checkpassword || die
dodoc CHANGES README TODO VERSION FILES SYSDEPS TARGETS
}