1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 DESCRIPTION="Easily add ANSI colouring to shell scripts"
9 HOMEPAGE="http://www.runslinux.net/?page_id=10"
10 SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"
14 KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
18 epatch "${FILESDIR}"/${PV}-ldflags.patch
23 dobin color || die "dobin failed"
24 dodoc CHANGELOG README || die
26 # symlink for british users.
27 dosym color /usr/bin/colour || die
31 elog "For information on using colour in your shell scripts,"
32 elog "run \`color\` without any arguments."
34 elog "To see all the colours available, use this command"
35 elog " $ color --list"
37 elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}."