blob: a714b558bd0b9eb30e80877b6edf55b186466b91 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/combine_wave/combine_wave-0.3.1.ebuild,v 1.2 2010/07/20 23:55:38 sbriesen Exp $
EAPI="2"
inherit eutils toolchain-funcs
IUSE=""
DESCRIPTION="sync up 2 audio ch. and/or combine 2 mono audio ch. into one stereo wave ch."
HOMEPAGE="http://panteltje.com/panteltje/dvd/"
SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_prepare() {
# fix makefile
sed -i -e "s:gcc:\$(CC):g" -e "s:= -O2:+=:g" \
-e "s:\( -o \): \$(LDFLAGS)\1:g" Makefile
}
src_compile() {
emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
dobin combine_wave
dodoc CHANGES README combine_wave.man
}
|