# $Id$ PNAME="gle" PVER="3.1.0" PBUILD="r8" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="The GLE Tubing and Extrusion Library is a graphics application programming interface." HOMEPAGE="http://www.linas.org/gle/" DEPEND=">= virtual/opengl >= virtual/glut" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-no-examples.patch ) UP2DATE="updatecmd ${HOMEPAGE}/pub/?M=A | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes some linking errors mpatch ${PNAME}-${PVER}-no-examples.patch || die } src_compile() { cd ${SRCDIR} mconfigure --with-x --x-libraries=/usr/$(mlibdir) || die mmake || die }