# $Id$ PNAME="xf86-video-openchrome" PVER="0.2.904_svn925" PBUILD="r1" PCATEGORIE="x11-drivers" STATE="unstable" DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices." HOMEPAGE="http://xorg.freedesktop.org" DEPEND="${DEPEND} >= x11-libs/libXvMC-1" SDEPEND="${SDEPEND} >= x11-proto/xf86driproto-1 >= x11-proto/glproto-1.4.12 >= x11-libs/libdrm-2.4.25 >= x11-libs/libX11-1" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude xorg SRC_URI=( http://www.openchrome.org/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.openchrome.org/releases/ | grep -v latest | lasttarball" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} autoreconf --verbose --install --force || die } src_compile() { cd ${SRCDIR} xorg_src_configure --enable-dri || die mmake || die }