# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ 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 >=dev-lang/tk-8.3" TCLV=8.3 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/* }