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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jul 15 03:23:23 2002 UTC (18 years, 4 months ago) by lostlogic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
gcc-3.1 fix, remove old versions, add SLOT KEYWORDS RDEPEND LICENSE

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/app-misc/colortail/colortail-0.3.0-r1.ebuild,v 1.1 2002/05/14 21:27:03 g2boojum Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="Colortail custom colors your log files and works like tail"
7 SRC_URI="http://www.student.hk-r.se/~pt98jan/colortail-0.3.0.tar.gz"
8 HOMEPAGE="http://www.student.hk-r.se/~pt98jan/colortail.html"
9
10 DEPEND="virtual/glibc"
11
12 src_compile() {
13 ./configure --prefix=/usr --host=${CHOST}
14 make || die
15 }
16
17 src_install() {
18
19 make DESTDIR=${D} install || die
20 dodoc README example-conf/conf*
21 dodir /usr/bin/wrappers
22 dosym /usr/bin/colortail /usr/bin/wrappers/tail
23 }
24
25 pkg_postinst() {
26 if grep /usr/bin/wrappers /etc/profile > /dev/null
27 then
28 echo "/etc/profile already updated for wrappers"
29 else
30 echo "Add this to the end of your ${ROOT}etc/profile:"
31 echo
32 echo "#Put /usr/bin/wrappers in path before /usr/bin"
33 echo 'export PATH=/usr/bin/wrappers:${PATH}'
34 fi
35 }
36
37
38

  ViewVC Help
Powered by ViewVC 1.1.20