# $Id$ PNAME="eigen" PVER="2.0.9" PBUILD="r2" PCATEGORIE="dev-cpp" STATE="unstable" DESCRIPTION="Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms." HOMEPAGE="http://eigen.tuxfamily.org/" DEPEND=">= virtual/glibc" SRCFILE="${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}2" sminclude cmake SRC_URI=( http://bitbucket.org/${PNAME}/${PNAME}2/get/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # fake me atm UP2DATE="echo ${PVER}" src_compile() { cd ${SRCDIR} # disabled benchmarks test, as they have a lot of dependencies # and disabled demos # but enabled the library cmake_configure \ -DEIGEN_BUILD_BTL=OFF \ -DEIGEN_BUILD_DEMOS=OFF \ -DEIGEN_BUILD_LIB=ON \ || die mmake || die }