summaryrefslogtreecommitdiff
blob: 286798df8d5149a07416ca526aa7ae8a42a74b46 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/wavesurfer/wavesurfer-1.5.7.ebuild,v 1.2 2004/03/01 05:37:16 eradicator Exp $

DESCRIPTION="tool for recording, playing, editing, viewing and labling of audio"
HOMEPAGE="http://www.speech.kth.se/wavesurfer/"
SRC_URI="http://www.speech.kth.se/wavesurfer/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND=">=dev-tcltk/snack-2.2.2
	>=dev-lang/tk-8.4"

TCLV=8.4

src_unpack() {
	unpack ${A}

	cd ${S}
	cp wavesurfer.tcl ${T}
	sed -e 's/wish[0-9.]\+/wish/' ${T}/wavesurfer.tcl > wavesurfer.tcl
}

src_install() {
	newbin wavesurfer.tcl wavesurfer

	dodir /usr/lib/tcl${TCLV}/${PN}
	cp -r wsurf${PV%.*}/* demos/* icons/* ${D}usr/lib/tcl${TCLV}/${PN}
	dodoc README.txt
	dohtml doc/*
}