Magellan Linux

Contents of /branches/magellan-next/extras/eigen/eigen-2.0.16-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8583 - (show annotations) (download)
Fri Jul 22 11:40:29 2011 UTC (12 years, 10 months ago) by niro
File size: 865 byte(s)
auto added: ver bump to 2.0.16-r1
1 # $Id$
2
3 PNAME="eigen"
4 PVER="2.0.16"
5 PBUILD="r1"
6
7 PCATEGORIE="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="9ca09dbd70ce"
15
16 SRCFILE="${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PNAME}-${COMMITVER}"
18
19 sminclude cmake
20
21 SRC_URI=(
22 http://bitbucket.org/${PNAME}/${PNAME}/get/${SRCFILE}
23 mirror://${PNAME}/${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 }