summaryrefslogtreecommitdiff
path: root/homebrew/arpack/.beer
blob: 2f46204a883c13be2fa50520ad2f57ca849c6e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
    "name": "Arpack",
    "description": "Routines to solve large scale eigenvalue problems",
    "url": "https://github.com/opencollab/arpack-ng/archive/3.7.0.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/opencollab/arpack-ng",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "gcc",
            "build-depend": false
        },
        {
            "depend": "open-mpi",
            "build-depend": false
        },
        {
            "depend": "veclibfort",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = %W[",
        "--disable-dependency-tracking",
        "--prefix=#{libexec}",
        "--with-blas=-L#{Formula[\"veclibfort\"].opt_lib}\\ -lvecLibFort",
        "F77=mpif77",
        "-enable-mpi",
        "]",
        "system \"./bootstrap\"",
        "system \"./configure\", *args",
        "system \"make\"",
        "system \"make\", \"install\"",
        "lib.install_symlink Dir[\"#{libexec}/lib/*\"].select { |f| File.file?(f) }",
        "(lib/\"pkgconfig\").install_symlink Dir[\"#{libexec}/lib/pkgconfig/*\"]",
        "pkgshare.install \"TESTS/testA.mtx\", \"TESTS/dnsimp.f\",",
        "\"TESTS/mmio.f\", \"TESTS/debug.h\"",
        "(libexec/\"bin\").install (buildpath/\"PARPACK/EXAMPLES/MPI\").children"
    ],
    "version": "3.7.0",
    "file": "arpack.rb"
}