aboutsummaryrefslogtreecommitdiff
path: root/extra/libgit2/build
blob: acd4c60deb2785f3ae81e74ce66de7b021d72563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

export DESTDIR="$1"
mkdir build && cd build

cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    ..

cmake --build .
cmake --install .