# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-radeonhd/xf86-video-radeonhd-9999.ebuild,v 1.2 2007/12/03 06:38:50 Exp $ SNAPSHOT="yes" inherit x-modular DESCRIPTION="Experimental Radeon HD video driver." HOMEPAGE="http://wiki.x.org/wiki/radeonhd" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="conntest" RDEPEND=">=x11-base/xorg-server-1.3" DEPEND="${RDEPEND} x11-proto/fontsproto x11-proto/randrproto x11-proto/videoproto x11-proto/xextproto x11-proto/xineramaproto x11-proto/xf86miscproto x11-proto/xproto" src_compile() { econf make || die "make failed" if use conntest; then cd utils/conntest; einfo "Building rhd_conntest"; make || die "conntest make failed"; fi } src_install() { make DESTDIR="${D}" install || die "make install failed" if use conntest; then mkdir -p "${D}/usr/sbin"; cp utils/conntest/rhd_conntest "${D}/usr/sbin/"; fi }