# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.2.0.ebuild,v 1.6 2005/07/05 14:28:10 gustavoz Exp $ inherit eutils DESCRIPTION="Libvisual is an abstraction library that comes between applications and audio visualisation plugins." HOMEPAGE="http://libvisual.sourceforge.net/" SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ppc sparc x86" IUSE="static" DEPEND="" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PV}-ppc.patch epatch ${FILESDIR}/${P}-movd.patch } src_compile() { econf $(use_enable static) || die emake || die } src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO }