/[gentoo-x86]/app-misc/colortail/colortail-0.3.0-r2.ebuild
Gentoo

Contents of /app-misc/colortail/colortail-0.3.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Dec 6 17:48:02 2004 UTC (15 years, 11 months ago) by ka0ttic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Updated HOMEPAGE and SRC_URI for bug 73512; also updated to use toolchain-funcs.eclass rather than gcc.eclass.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/colortail/colortail-0.3.0-r2.ebuild,v 1.12 2004/06/28 03:30:17 vapier Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Colortail custom colors your log files and works like tail"
8 HOMEPAGE="http://www.student.hk-r.se/~pt98jan/colortail.html"
9 SRC_URI="http://www.student.hk-r.se/~pt98jan/colortail-0.3.0.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 ppc"
14 IUSE=""
15
16 DEPEND="virtual/libc"
17
18 src_unpack() {
19 unpack ${A}
20 cd ${S}
21 epatch ${FILESDIR}/${P}-gcc3.patch
22 }
23
24 src_compile() {
25 ./configure --prefix=/usr --host=${CHOST}
26 make || die
27 }
28
29 src_install() {
30 make DESTDIR=${D} install || die
31 dodoc README example-conf/conf*
32 dodir /usr/bin/wrappers
33 dosym /usr/bin/colortail /usr/bin/wrappers/tail
34 }
35
36 pkg_postinst() {
37 if grep /usr/bin/wrappers ${ROOT}/etc/profile > /dev/null
38 then
39 einfo "/etc/profile already updated for wrappers"
40 else
41 einfo "Add this to the end of your ${ROOT}etc/profile:"
42 einfo
43 einfo "#Put /usr/bin/wrappers in path before /usr/bin"
44 einfo 'export PATH=/usr/bin/wrappers:${PATH}'
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20