Contents of /trunk/extras/eigen/eigen-2.0.9-r2.smage2
Parent Directory | Revision Log
Revision 3971 -
(show annotations)
(download)
Sat Nov 14 14:25:55 2009 UTC (14 years, 6 months ago) by niro
File size: 743 byte(s)
Sat Nov 14 14:25:55 2009 UTC (14 years, 6 months ago) by niro
File size: 743 byte(s)
-build the library too
1 | # $Id$ |
2 | |
3 | PNAME="eigen" |
4 | PVER="2.0.9" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="dev-cpp" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms." |
11 | HOMEPAGE="http://eigen.tuxfamily.org/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}2" |
17 | |
18 | sminclude cmake |
19 | |
20 | SRC_URI=( |
21 | http://bitbucket.org/${PNAME}/${PNAME}2/get/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | # fake me atm |
26 | UP2DATE="echo ${PVER}" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | |
32 | # disabled benchmarks test, as they have a lot of dependencies |
33 | # and disabled demos |
34 | # but enabled the library |
35 | cmake_configure \ |
36 | -DEIGEN_BUILD_BTL=OFF \ |
37 | -DEIGEN_BUILD_DEMOS=OFF \ |
38 | -DEIGEN_BUILD_LIB=ON \ |
39 | || die |
40 | |
41 | mmake || die |
42 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |