summaryrefslogtreecommitdiff
path: root/media-sound/oreka/oreka-0.5_p313.ebuild
blob: e265254355c6f035fe50055258f361984ca83730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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}
}