# $Id$ PNAME="libteam" PVER="1.29" PBUILD="r1" PCAT="net-libs" DESCRIPTION="Library for controlling team network devices." HOMEPAGE="http://libteam.org/" DEPEND=">= dev-libs/libnl3-3.2.25 >= dev-libs/libdaemon-0.14 >= dev-libs/jansson-2.7 >= sys-apps/dbus-1.10" SDEPEND=">= dev-lang/python-2.7 >= dev-lang/swig-2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude python multilib systemd dbus SRC_URI=( http://libteam.org/files/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2SEPERATOR="v" UP2DATE="updatecmd https://github.com/jpirko/${PNAME}/releases | highesttarball gz" src_compile() { mconfigure || die mmake || die SRCSUBDIR="binding/python" all-abis python_docompile || die unset SRCSUBDIR } src_install() { mmake DESTDIR=${BINDIR} install || die minstallunit teamd/redhat/systemd/teamd@.service || die minstalldbusconfig teamd/dbus/teamd.conf || die SRCSUBDIR="binding/python" all-abis python_doinstall || die unset SRCSUBDIR }