# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-python/mmpython/mmpython-0.4.2.ebuild,v 1.2 2004/05/27 07:05:00 kloeri Exp $ inherit distutils DESCRIPTION="Wrapper library for via cle266." HOMEPAGE="http://unichrome.sf.net/" SRC_URI="mirror://sourceforge/unichrome/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="x11-base/xfree-unichrome" src_unpack() { unpack ${A} } src_compile() { econf; # --sysconfdir=${D}'etc'; emake || die "compilation problem" ## make the wrapper use via Xvmc by default sed -e "s:libXvMCNVIDIA_dynamic.so.1:libviaXvMC.so.1:" \ -i "XvMCConfig" || die "altering XvMCConfig files failed" } src_install() { einfo "install" einstall DESTDIR="${D}" dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README }