# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 MY_PV=`echo ${PV} | tr -cd '[:digit:]' | sed -n '$s/^.\{0\}\(.\{1\}\).*/\1/p'` MY_PVR=`echo ${PV} | tr -cd '[:digit:]' | sed -n '$s/^.\{1\}\(.\{1\}\).*/\1/p'` MY_PVSR=`echo ${PV} | tr -cd '[:digit:]' | sed -n '$s/^.\{2\}\(.\{2\}\).*/\1/p'` DESCRIPTION="Speech analysis and synthesis" SRC_URI="http://www.fon.hum.uva.nl/praat/${PN}${MY_PV}${MY_PVR}${MY_PVSR}_sources.tar.gz" HOMEPAGE="http://www.fon.hum.uva.nl/praat/" DEPEND="" RDEPEND="" KEYWORDS="~x86" IUSE="" LICENSE="GPL-2" SLOT="0" src_unpack() { unpack ${A} } src_compile() { cd ${WORKDIR}/sources_${MY_PV}${MY_PVR}${MY_PVSR} cp makefiles/makefile.defs.linux.dynamic ./makefile.defs emake || die } src_install() { cd ${WORKDIR}/sources_${MY_PV}${MY_PVR}${MY_PVSR} into /usr dobin praat } pkg_postinst() { einfo einfo "The documentation is available at" einfo " http://www.fon.hum.uva.nl/praat/manual/Intro.html" einfo }