Annotation of /trunk/extras/eigen/eigen-2.0.9-r3.smage2
Parent Directory | Revision Log
Revision 3972 -
(hide annotations)
(download)
Sat Nov 14 14:39:24 2009 UTC (14 years, 7 months ago) by niro
File size: 939 byte(s)
Sat Nov 14 14:39:24 2009 UTC (14 years, 7 months ago) by niro
File size: 939 byte(s)
-fix hardcoded lib pathes
1 | niro | 3972 | # $Id$ |
2 | |||
3 | PNAME="eigen" | ||
4 | PVER="2.0.9" | ||
5 | PBUILD="r3" | ||
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_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fix hardcoded lib pathes | ||
34 | sed -i -e "s:DESTINATION lib:DESTINATION $(mlibdir):g" \ | ||
35 | Eigen/CMakeLists.txt \ | ||
36 | CMakeLists.txt || die | ||
37 | } | ||
38 | |||
39 | src_compile() | ||
40 | { | ||
41 | cd ${SRCDIR} | ||
42 | |||
43 | # disabled benchmarks test, as they have a lot of dependencies | ||
44 | # and disabled demos | ||
45 | # but enabled the library | ||
46 | cmake_configure \ | ||
47 | -DEIGEN_BUILD_BTL=OFF \ | ||
48 | -DEIGEN_BUILD_DEMOS=OFF \ | ||
49 | -DEIGEN_BUILD_LIB=ON \ | ||
50 | || die | ||
51 | |||
52 | mmake || die | ||
53 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |