summaryrefslogtreecommitdiff
blob: 0c02a8f59b5d57d189ff386b8b1f537b09c366f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/inotail/inotail-0.5-r1.ebuild,v 1.2 2009/09/08 18:09:17 ikelos Exp $

inherit linux-info toolchain-funcs

DESCRIPTION="tail replacement using inotify"
HOMEPAGE="http://distanz.ch/inotail/"
SRC_URI="http://distanz.ch/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

CONFIG_CHECK="~INOTIFY"

src_unpack() {
	unpack ${A}

	sed -i 's/\s*gzip/#&/' "${S}"/Makefile
}

src_compile() {
	emake CC="$(tc-getCC)" || die "emake failed"
}

src_install() {
	emake prefix="${D}/usr" install || die "install failed"
	dodoc changelog README
}