| # Copyright 1999-2011 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| inherit eutils autotools |
| |
| DESCRIPTION="Command line CD player" |
| HOMEPAGE="http://bard.sytes.net/takcd/" |
| SRC_URI="http://bard.sytes.net/takcd/${P}.tar.gz" |
| |
| LICENSE="GPL-2" |
| SLOT="0" |
| KEYWORDS="alpha amd64 ~hppa ia64 ~mips ~ppc sparc x86" |
| IUSE="" |
| |
| src_unpack() { |
| unpack ${A} |
| cd "${S}" |
| epatch "${FILESDIR}"/${P}-overflow.patch |
| eautoreconf |
| } |
| |
| src_install() { |
| emake DESTDIR="${D}" install || die "emake install failed." |
| doman *.1 |
| dodoc AUTHORS ChangeLog NEWS README README.takmulti TODO |
| } |