# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/tapiir/tapiir-0.7.1.ebuild,v 1.15 2006/11/01 13:24:01 aballier Exp $ inherit eutils IUSE="" DESCRIPTION=" Tapiir is a simple and flexible audio effects processor, inspired on the classical magnetic tape delay systems" HOMEPAGE="http://www.iua.upf.es/~mdeboer/projects/tapiir/" SRC_URI="ftp://www.iua.upf.es/pub/mdeboer/projects/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~sparc x86" DEPEND="media-sound/jack-audio-connection-kit >=media-libs/alsa-lib-0.9 x11-libs/fltk" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-gcc3.patch" epatch "${FILESDIR}/${P}-gcc4.patch" sed -i "/#include /i\\#define ALSA_PCM_OLD_HW_PARAMS_API 1\\" src/alsaio.cxx } src_compile() { local myconf myconf="--with-fltk-prefix=/usr/$(get_libdir)/fltk-1.1 \ --with-fltk-inc-prefix=/usr/include/fltk-1.1" econf ${myconf} || die emake || die } src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS }