summaryrefslogtreecommitdiff
blob: 759bde44a4d122fd7deda5b8d83c211e1a437b44 (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
# 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.10.ebuild,v 1.6 2006/02/07 21:03:04 agriffis 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"

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
}