# $Id$ PNAME="extra-cmake-modules" PVER="1.6.1" PBUILD="r1" PCAT="dev-libs" HOMPAGE="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" DESCRIPTION="Extra modules and scripts for CMake." # docs requires sphinx to build DEPEND=">= app-arch/xz-utils-5 >= dev-util/cmake-3.1" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude cmake KDEFRAMEWORK_VERSION=5.6 SRC_URI=( http://download.kde.org/stable/frameworks/${KDEFRAMEWORK_VERSION}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_compile() { cd ${SRCDIR} # build outside of the source dir install -d ${BUILDDIR}/build || die cd ${BUILDDIR}/build # todo: docs, requires sphinx cmake_configure $(cmake_without MAN_DOCS) $(cmake_without HTML_DOCS) || die mmake || die }