# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/linux-identd/linux-identd-1.3-r1.ebuild,v 1.2 2006/09/08 00:13:07 seemant Exp $ IUSE="xinetd" DESCRIPTION="A real IDENT daemon for linux." HOMEPAGE="http://www.fukt.bth.se/~per/identd" SRC_URI="http://www.fukt.bth.se/~per/identd/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64" DEPEND="virtual/libc" RDEPEND="xinetd? ( sys-apps/xinetd )" src_compile() { emake CEXTRAS="${CFLAGS}" || die } src_install() { dodir /etc/init.d /usr/sbin /usr/share/man/man8 dodoc README COPYING ChangeLog make install DESTDIR=${D} MANDIR=/usr/share/man || die if use xinetd; then insinto /etc/xinetd.d newins ${FILESDIR}/identd.xinetd identd else newinitd ${FILESDIR}/identd.init identd fi }