# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/taglib-1.3.1.ebuild,v 1.9 2005/02/22 08:38:35 hardave Exp $ inherit flag-o-matic DESCRIPTION="A library for reading and editing audio meta data" HOMEPAGE="http://developer.kde.org/~wheeler/index.html" SRC_URI="http://developer.kde.org/~wheeler/files/src/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~mips" IUSE="debug" DEPEND=">=sys-devel/autoconf-2.58" RDEPEND="" src_unpack() { unpack ${A} cd ${S} rm -rf autom4te.cache #cyrille pour les WMA tar -zxf ${FILESDIR}/taglib-wma.tar.gz -C ${WORKDIR}/${P}/taglib epatch ${FILESDIR}/taglib-wma-diffs #fin cyrille export WANT_AUTOCONF=2.5 export WANT_AUTOMAKE=1.7 aclocal && autoconf && automake || die "autotools failed" } src_compile() { replace-flags -O3 -O2 econf `use_enable debug` || die emake || die } src_install() { make install DESTDIR=${D} destdir=${D} || die }