# $Id$ PNAME="libverto" PVER="0.3.1" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="An async event loop abstraction library." HOMEPAGE="https://github.com/latchset/libverto/" DEPEND=">= dev-libs/glib2-2.58 >= dev-libs/libevent-2.1" SDEPEND=">= dev-lang/python-2.7" SRCFILE="${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib mbuild SRC_URI=( https://github.com/latchset/${PNAME}/archive/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2SEPERATOR='\/' UP2DATE="updatecmd https://github.com/latchset/${PNAME}/releases | highesttarball gz" src_prepare() { munpack ${SRCFILE} || die mautoreconf || die } src_compile() { # use libevent as default event lib # optional: tevent, which is used by samba, maybe as split-package mconfigure \ --with-glib \ --with-libevent \ --with-pthread \ --without-libev \ --without-tevent \ || die mmake || die }