# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="WhySynth is a versatile softsynth using (DSSI)" HOMEPAGE="http://www.smbolton.com/whysynth.html" SRC_URI="http://www.smbolton.com/whysynth/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="doc" RESTRICT="mirror" RDEPEND=">=media-libs/dssi-0.9 >=x11-libs/gtk+-2.0 =sci-libs/fftw-3* dev-util/pkgconfig >=media-libs/liblo-0.12 >=media-libs/ladspa-sdk-1.0" src_unpack() { unpack ${P}.tar.bz2 cd "${S}" } src_compile() { econf || die emake || die } src_install() { einstall || die dodoc ChangeLog README if use doc;then cd doc dodoc wavetable_guide insinto /usr/share/doc/${P}/ doins *.png fi }