summaryrefslogtreecommitdiff
blob: 82818c86ded27b147607259918015a16b71d156f (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-jack/alsa-jack-1.0.11.ebuild,v 1.4 2006/04/25 14:36:41 wolf31o2 Exp $

inherit libtool

MY_PV="${PV/_rc/rc}"

DESCRIPTION="JACK pcm plugin. Allows native ALSA applications to connect to the jackd. Works transparantly for both capture and playback."
HOMEPAGE="http://www.alsa-project.org/"
SRC_URI="mirror://alsaproject/plugins/alsa-plugins-${MY_PV}.tar.bz2"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ppc64 ~sh sparc x86"
IUSE=""

DEPEND=">=media-libs/alsa-lib-${PV}
	media-sound/jack-audio-connection-kit
	!media-plugins/alsa-plugins"

S=${WORKDIR}/alsa-plugins-${MY_PV}

src_compile() {
	econf || die "configure failed"

	cd ${S}/pcm/jack
	emake || die "make on jack plugin failed"
}

src_install() {
	cd ${S}/pcm/jack
	make DESTDIR="${D}" install || die "make install on jack plugin failed"

	dodoc README
}