summaryrefslogtreecommitdiff
path: root/packages/cppcheck.sh
blob: 22de440603df2ec7e5d9da7227cfe47520aaa35b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

SRCURL=https://github.com/danmar/cppcheck.git

function package_build {
    run_switch_branch master

    run_cmake -DHAVE_RULES=ON

    run_make
    run_make_install
}

function package_use {
    env_path "bin"
    env_path "share/CppCheck"
}