# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools libtool DESCRIPTION="Oreka RTP audio recreation tool" HOMEPAGE="http://oreka.sourceforge.net/" MY_PV=${PV/_p/-} SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-libs/ace dev-libs/boost dev-libs/xerces-c dev-libs/log4cxx media-libs/libsndfile net-libs/libpcap media-libs/portaudio" RDEPEND="" S="${WORKDIR}/${PN}-${MY_PV}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-orkaudioconf-location.patch } src_compile() { einfo "Building orkbase libraries..." cd ${S}/orkbasecxx eautoreconf econf make einfo "Building orkaudio package..." cd ${S}/orkaudio eautoreconf LDFLAGS="-L.." econf make } src_install() { cd ${S}/orkbasecxx make install DESTDIR=${D} cd ${S}/orkaudio make install DESTDIR=${D} }