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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Wed May 10 20:30:50 2006 UTC (14 years, 6 months ago) by halcy0n
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
Removing from the tree, been masked for over a month now

1 # Copyright 1999-2005 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-r3.ebuild,v 1.14 2005/01/01 14:57:13 eradicator Exp $
4
5 inherit toolchain-funcs eutils
6
7 DESCRIPTION="Colortail custom colors your log files and works like tail"
8 # bug 73512 - package doesn't seem to have a valid home page
9 HOMEPAGE="http://web.archive.org/web/20030411093805/www.student.hk-r.se/~pt98jan/colortail.html"
10 SRC_URI="mirror://gentoo/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 IUSE=""
15 KEYWORDS="x86 ppc amd64"
16
17 src_unpack() {
18 unpack ${A}
19 cd ${S}
20 [ "`gcc-major-version`" == "3" ] && epatch ${FILESDIR}/${PV}/ansi-c++-gcc-3.2.diff
21 }
22
23 src_install() {
24 make DESTDIR=${D} install || die "make install failed"
25 dodoc README example-conf/conf*
26 dodir /usr/bin/wrappers
27 dosym /usr/bin/colortail /usr/bin/wrappers/tail
28 }
29
30 pkg_postinst() {
31 einfo
32 if grep /usr/bin/wrappers ${ROOT}/etc/profile > /dev/null
33 then
34 einfo "/etc/profile already updated for wrappers"
35 else
36 einfo "Add this to the end of your ${ROOT}etc/profile:"
37 einfo
38 einfo "#Put /usr/bin/wrappers in path before /usr/bin"
39 einfo 'export PATH=/usr/bin/wrappers:${PATH}'
40 fi
41 einfo
42 }

  ViewVC Help
Powered by ViewVC 1.1.20