2020-02-20 09:07:33 +03:00
|
|
|
#!/bin/bash ../.port_include.sh
|
|
|
|
port=git
|
2020-04-12 23:44:36 +03:00
|
|
|
version=2.26.0
|
2020-02-20 09:07:33 +03:00
|
|
|
useconfigure="true"
|
|
|
|
files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz"
|
|
|
|
configopts="--target=i686-pc-serenity"
|
|
|
|
depends="zlib"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
run make $makeopts
|
|
|
|
run make strip
|
|
|
|
}
|
|
|
|
|
2020-09-10 22:24:25 +03:00
|
|
|
post_install() {
|
|
|
|
mkdir -p "$SERENITY_ROOT"/Build/Root/home/anon
|
|
|
|
cp "$workdir"/../default_gitconfig "$SERENITY_ROOT"/Build/Root/home/anon/.gitconfig
|
|
|
|
}
|
|
|
|
|
2020-02-20 09:07:33 +03:00
|
|
|
export NO_OPENSSL=1
|
|
|
|
export ac_cv_fread_reads_directories=no
|
|
|
|
export ac_cv_snprintf_returns_bogus=no
|