blob: 3549e7289c977cad73c590ce9d834ca96151da1a (
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
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs autotools
DESCRIPTION="console based mp3 ripper, with cddb support"
HOMEPAGE="http://wspse.de/WSPse/Linux-MP3c.php3"
SRC_URI="ftp://ftp.wspse.de/pub/linux/wspse/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="mp3 vorbis"
DEPEND="sys-libs/ncurses:0="
RDEPEND="
${DEPEND}
app-cdr/cdrtools
mp3? (
media-sound/lame
media-sound/mp3info
)
vorbis? ( media-sound/vorbis-tools )"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-buffer.patch
"${FILESDIR}"/${PN}-c23.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
econf $(use_enable vorbis oggdefaults)
}
src_install() {
default
dodoc BATCH.README CDDB_HOWTO OTHERS
}
|