# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A program for experimenting with simple audio DSP algorithms" HOMEPAGE="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/basicdsp/" SRC_URI="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}/${P}.tgz doc? ( http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}/BasicDSP_SPRAT.pdf )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc" DEPEND=">=x11-libs/wxGTK-2.6.3" RDEPEND=${DEPEND} src_unpack() { unpack $A cd "${S}" epatch "${FILESDIR}"/makefile.patch } src_install() { dobin basicdsp || die "dobin failed" doman basicdsp.1 || die "doman failed" dodoc README.txt || die "dodoc failed" if use doc ; then dodoc "${DISTDIR}"/BasicDSP_SPRAT.pdf || die "dodoc failed" fi }