blob: 3a3bcbd59908bef5bd83473123124098be9a8870 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3.ebuild,v 1.6 2007/05/13 16:54:01 beandog Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils distutils autotools
MY_P="lib${P}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="TunePimp is a library to create MusicBrainz enabled tagging applications."
HOMEPAGE="http://www.musicbrainz.org/products/tunepimp"
SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
# Most use flags were void as not deterministic - needs a patch sooner or later.
#IUSE="flac mp3 readline perl python vorbis"
IUSE="python"
RDEPEND="sys-libs/zlib
dev-libs/expat
net-misc/curl
>=media-libs/flac-1.1.2
media-libs/libmad
>=media-libs/musicbrainz-2.1.0
media-libs/libofa
media-libs/libvorbis
!media-sound/trm
sys-libs/readline"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s: tta::" configure.in
eautoreconf
}
src_compile() {
# We need to override distutils_src_compile, bug 160145
econf || die 'econf failed'
emake || die 'emake failed'
}
src_install() {
cd ${S}
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog INSTALL README TODO
if use python; then
cd "${S}/python"
distutils_src_install
insinto /usr/share/doc/${PF}/examples/
doins examples/*
fi
}
|