# $Id$ PNAME="liboil" PVER="0.3.17" PBUILD="r3" PCAT="dev-libs" DESCRIPTION="Liboil is a library of simple functions that are optimized for various CPUs." HOMEPAGE="http://liboil.freedesktop.org/" DEPEND=">= dev-libs/glib2-2.28" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" # enable linux32 emulation for x86_64 arches EMUL_LINUX_32=true sminclude mbuild multilib SRC_URI=( http://liboil.freedesktop.org/download/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE}/download/ | lasttarball gz" src_compile() { cd ${SRCDIR} mconfigure --disable-gtk-doc || die mmake -j1 || die }