# $Id$ PNAME="herqq" PVER="1.0.0" PBUILD="r2" PCAT="media-libs" DESCRIPTION="Software library for building UPnP devices." HOMEPAGE="http://www.herqq.org/" DEPEND=">= x11-libs/qt4-core-4.8 >= x11-libs/qt4-gui-4.8 >= x11-libs/qt4-xmlpatterns-4.8" SDEPEND=">= app-arch/unzip-6 >= virtual/sed" SRCFILE="${PNAME}-${PVER}.zip" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude qt4 SRC_URI=( sourceforge://hupnp/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2TARBALL="${PNAME}" UP2DATE="updatecmd_sourceforge hupnp zip" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # honor $(mlibdir) sed -i "s:PREFIX/lib:PREFIX/$(mlibdir):" hupnp/src.pro \ hupnp/lib/qtsoap-2.7-opensource/buildlib/buildlib.pro || die } src_compile() { cd ${SRCDIR} # non standard configure script ${QMAKE} PREFIX="${QTDIR}" || die mmake || die } src_install() { cd ${SRCDIR} mmake INSTALL_ROOT=${BINDIR} install || die }