DESCRIPTION="QOscC - QOscC is a highly flexible and configurable software Oscilloscope." HOMEPAGE="http://www.svenqueisser.de/qoscc.html" SRC_URI="http://www.svenqueisser.de/cpp/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="x86" IUSE="debug oss alsa jack" DEPEND=">=sci-libs/fftw-3.0.0 >=x11-libs/qt-3.0.0 alsa? (media-libs/alsa-lib) jack? (media-sound/jack-audio-connection-kit)" src_unpack(){ unpack ${A} } src_compile(){ if !(use oss); then myconfig="${myconfig} --disable-oss" fi if !(use alsa); then myconfig="${myconfig} --disable-alsa" fi if !(use jack); then myconfig="${myconfig} --disable-jack" fi if (use debug); then myconfig="${myconfig} --enable-debug" fi ./configure \ --prefix=/usr \ ${myconfig} || die emake || die } src_install(){ einstall }