blob: 3fde4f0f88203b58ce5adbc150fb5670a737e9a1 (
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
|
# 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.2 2007/07/11 19:30:24 mr_bones_ 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
}
|