blob: dcff0ae41185f0b450aa7e60fea73647f12e688d (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild,v 1.1 2007/01/06 21:19:56 aballier Exp $
inherit eutils
DESCRIPTION="A fast and high quality sampling rate converter"
HOMEPAGE="http://shibatch.sourceforge.net"
SRC_URI="http://shibatch.sf.net/download/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
#-sparc: kde's pop.wav "Error: Only PCM is supported."
KEYWORDS="~x86 ~amd64 -sparc"
IUSE=""
RDEPEND="virtual/libc"
DEPEND="app-arch/unzip"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-makefile.patch"
}
src_compile() {
# Local CFLAGS should overwrite the ones in the Makefile
emake -e || die
}
src_install() {
dobin ssrc
dobin ssrc_hp
dodoc ssrc.txt history.txt
}
|