# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/turbotail/turbotail-0.2-r1.ebuild,v 1.1 2005/08/08 17:03:52 sbriesen Exp $ inherit eutils DESCRIPTION="drop-in replacement for 'tail' which uses the kernel DNOTIFY-api" HOMEPAGE="http://www.vanheusden.com/Linux/" SRC_URI="http://www.vanheusden.com/Linux/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="" src_unpack() { unpack ${A} cd "${S}" # apply munmap patch (see bug #101694) epatch "${FILESDIR}/${P}-munmap.patch" } src_compile() { # enforce our CFLAGS emake CFLAGS="-Wall ${CFLAGS} -DVERSION=\"${VERSION}\"" || die "emake failed" } src_install() { dobin turbotail || die "install failed" dodoc readme.txt }