summaryrefslogtreecommitdiff
path: root/packages/cppcheck.sh
blob: 4060dff36eff12e5e97c3e3386c4d1a102c443ce (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

ENV_PATH="bin:share/CppCheck"

BUILD_TYPE="cmake"
CONFIGURE_FLAGS="-DHAVE_RULES=ON"

function package_build {
    run_switch_branch

    run_cmake

    run_make
    run_make_install
}