Contents of /branches/R11-unstable/extras/eigen2/eigen2-2.0.17-r3.smage2
Parent Directory | Revision Log
Revision 25191 -
(show annotations)
(download)
Tue Nov 25 03:12:11 2014 UTC (9 years, 11 months ago) by niro
File size: 875 byte(s)
Tue Nov 25 03:12:11 2014 UTC (9 years, 11 months ago) by niro
File size: 875 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="eigen2" |
4 | PVER="2.0.17" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="dev-cpp" |
8 | |
9 | DESCRIPTION="Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms." |
10 | HOMEPAGE="http://eigen.tuxfamily.org/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | COMMITVER="b23437e61a07" |
15 | |
16 | SRCFILE="${PVER}.tar.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME/2/}-${PNAME/2/}-${COMMITVER}" |
18 | |
19 | sminclude cmake |
20 | |
21 | SRC_URI=( |
22 | http://bitbucket.org/${PNAME/2/}/${PNAME/2/}/get/${SRCFILE} |
23 | mirror://${PNAME/2/}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd ${HOMEPAGE} | grep 'latest stable' | sed 's:.*Eigen\ \(.*\)\.\ .*:\1:'" |
27 | |
28 | src_compile() |
29 | { |
30 | install -d ${BUILDDIR}/build |
31 | cd ${BUILDDIR}/build |
32 | |
33 | # disabled benchmarks test, as they have a lot of dependencies |
34 | # and disabled demos |
35 | # but enabled the library |
36 | cmake_configure \ |
37 | -DEIGEN_BUILD_BTL=OFF \ |
38 | -DEIGEN_BUILD_DEMOS=OFF \ |
39 | -DEIGEN_BUILD_LIB=ON \ |
40 | || die |
41 | |
42 | mmake || die |
43 | } |