blob: 87a041b81188fde52a8fdd03b6a1ae0c58be7924 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r2.ebuild,v 1.6 2008/05/07 18:46:14 corsair Exp $
inherit eutils multilib
DESCRIPTION="The MAD id3tag library"
HOMEPAGE="http://www.underbit.com/products/mad/"
SRC_URI="mirror://sourceforge/mad/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
IUSE="debug"
DEPEND="dev-util/gperf
sys-devel/libtool"
RDEPEND="${DEPEND}
>=sys-libs/zlib-1.1.3"
src_unpack() {
unpack ${A}
cd "${S}"
epunt_cxx #74489
epatch "${FILESDIR}/${PV}"/*.patch
#SDS
epatch "${FILESDIR}"/libid3tag-0.15.1b-ds-rcc.patch || die
libtoolize --copy --force
aclocal
automake
autoconf
#EDS
}
src_compile() {
econf $(use_enable debug debugging) || die "configure failed"
emake || die "make failed"
}
src_install() {
make install DESTDIR="${D}" || die "make install failed"
dodoc CHANGES CREDITS README TODO VERSION
# This file must be updated with every version update
insinto /usr/$(get_libdir)/pkgconfig
doins "${FILESDIR}/id3tag.pc"
sed -i -e "s:libdir=\${exec_prefix}/lib:libdir=/usr/$(get_libdir):" \
-e "s:0.15.0b:${PV}:" \
"${D}/usr/$(get_libdir)/pkgconfig/id3tag.pc"
}
|