summaryrefslogtreecommitdiff
blob: 32c9a8ea329ebb5341396c416d1a70f799876ef5 (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
# 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
}