summaryrefslogtreecommitdiff
blob: ad4582d8d4d1d3363ccac600d6353b3c05dc30a3 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/vsound/vsound-0.5.ebuild,v 1.12 2004/07/26 05:21:24 eradicator Exp $

IUSE=""

DESCRIPTION="A virtual audio loopback cable"
HOMEPAGE="http://www.zip.com.au/~erikd/vsound/"
LICENSE="GPL-2"
DEPEND=">=media-sound/sox-12.17.1"

KEYWORDS="x86 ~amd64 ~sparc"
SLOT="0"
SRC_URI="mirror://debian/pool/main/v/vsound/${P/-/_}.orig.tar.gz
	mirror://debian/pool/main/v/vsound/${P/-/_}-3.diff.gz"

RESTRICT="nomirror"

src_unpack() {
	cd ${WORKDIR}
	unpack ${P/-/_}.orig.tar.gz
	cd ${S}
	gunzip --stdout ${DISTDIR}/${P/-/_}-3.diff.gz | patch -p1 || die
}

src_compile() {
	./configure --prefix=/usr		\
		    --infodir=/usr/share/info	\
		    --mandir=/usr/share/man	\
		    --host=${CHOST} || die

	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS COPYING Changelog INSTALL NEWS README README.original
}