arpack-3.2.0-1 piece #2
[git/cygwin-packages/arpack.git] / arpack.cygport
CommitLineData
cd402483 1NAME="arpack"
06b41cb0 2VERSION=3.2.0
cd402483
MA
3RELEASE=1
4
5CATEGORY="Math Libs"
6DESCRIPTION="ARPACK is a collection to solve large scale eigenvalue problems."
7SUMMARY="ARPACK libs (large scale eigenvalue problems )."
8HOMEPAGE="http://www.gnu.org/software/octave/"
9SRC_URI="http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/${PN}-ng-${PV}.tar.gz"
10SRC_DIR="arpack-ng-${PV}"
11
12PKG_NAMES="arpack libarpack-devel libarpack0 libparpack-devel libparpack0"
13
14arpack_CONTENTS=''
15arpack_SUMMARY="${SUMMARY} - empty"
16
17libarpack_devel_CONTENTS='usr/lib/libarpack.dll.a usr/lib/pkgconfig usr/share'
18libarpack_devel_SUMMARY="${SUMMARY} - development libraries"
19
20libarpack0_CONTENTS='usr/bin/cygarpack*'
21libarpack0_SUMMARY="${SUMMARY} - shared libraries"
22
23libparpack_devel_CONTENTS='usr/lib/libparpack.dll.a'
24libparpack_devel_SUMMARY="${SUMMARY} - parallel development libraries"
25
26libparpack0_CONTENTS='usr/bin/cygparpack*'
27libparpack0_SUMMARY="${SUMMARY} - parallel shared libraries"
28
29DIFF_EXCLUDES="Makefile"
30KEEP_LA_FILES="none"
31
32src_compile() {
33 cd ${S}
34 cygautoreconf
35 cd ${B}
36 cygconf --enable-shared \
37 --enable-mpi \
38 MPILIBS="-lmpi_mpifh -lmpi" F77=gfortran
39 cygmake
40}
41
42src_test() {
43 cd ${B}
44 cp ${S}/TESTS/testA.mtx ${B}/TESTS/testA.mtx
45 cygmake -i check
46 cd ${B}/EXAMPLES
47 cygmake -i check
48}
49
50src_install() {
51 cd ${B}
52 cyginstall
53
54}
This page took 0.024168 seconds and 5 git commands to generate.