# $Id$ PNAME="openslp" PVER="1.2.1" PBUILD="r4" PCATEGORIE="net-libs" DESCRIPTION="An open-source implementation of Service Location Protocol." HOMEPAGE="http://www.openslp.org/" DEPEND=">= dev-libs/openssl-1.0.0" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild mtools # rc cvs revision RC_REV=1.2 SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/slpd.rc-${RC_REV} mirror://${PNAME}/slpd.service mirror://${PNAME}/multicast_route_set.sh ) UP2DATE="updatecmd ${HOMEPAGE} | grep 'current.*stable'| sed 's:.*OpenSLP\ \(.*\)\ \ .*(.*:\1:'" src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die minstallrc slpd.rc-${RC_REV} slpd || die # systemd minstallunit slpd.service || die # systemd helper script minstallexec -s multicast_route_set.sh /lib/systemd/multicast_route_set || die minstalldocs AUTHORS ChangeLog FAQ NEWS README* THANKS || die }