# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/fmtools-1.0.2.ebuild,v 1.4 2009/06/11 13:39:19 fauli Exp $ EAPI=2 inherit toolchain-funcs DESCRIPTION="A collection of programs for controlling v4l radio card drivers." HOMEPAGE="http://www.stanford.edu/~blp/fmtools" SRC_URI="http://www.stanford.edu/~blp/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~sparc x86" IUSE="" RDEPEND="" DEPEND="" src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { dobin fm fmscan || die "dobin failed" doman fm.1 fmscan.1 dodoc CHANGES README }