blob: 887a59c4e116c2a286a45a7fd0d59e064addbc8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
set -xe
name=git
version=2.20.1
url=https://mirrors.edge.kernel.org/pub/software/scm/git/${name}-${version}.tar.xz
curl -LO ${url}
tar xf ${name}-${version}.tar.xz
pushd ${name}-${version}
make configure
./configure --prefix=${TOOLCHAIN} \
--libexecdir=${TOOLCHAIN_LIB}/git \
--with-curl \
--with-openssl=${TOOLCHAIN}
make -j${_maxjobs}
make strip
make install
popd
|