summaryrefslogtreecommitdiff
blob: 5a15255f66d7a9a8834e8a45c65852ec0b30299f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="3"

WX_GTK_VER="2.8"

inherit eutils toolchain-funcs wxwidgets

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.8[X]"
RDEPEND=${DEPEND}

src_prepare() {
	epatch "${FILESDIR}"/makefile.patch
	tc-export CXX
}

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
}