2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2020-02-20 09:07:33 +03:00
|
|
|
port=git
|
2021-04-16 18:38:54 +03:00
|
|
|
version=2.31.1
|
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"
|
2021-03-11 23:58:18 +03:00
|
|
|
configopts="--target=${SERENITY_ARCH}-pc-serenity CFLAGS=-DNO_IPV6"
|
2020-02-20 09:07:33 +03:00
|
|
|
depends="zlib"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
run make $makeopts
|
|
|
|
run make strip
|
|
|
|
}
|
|
|
|
|
2020-09-10 22:24:25 +03:00
|
|
|
post_install() {
|
2021-03-11 21:50:44 +03:00
|
|
|
run mkdir -p "${SERENITY_BUILD_DIR}/Root/home/anon"
|
|
|
|
run cp "../default_gitconfig" "${SERENITY_BUILD_DIR}/Root/home/anon/.gitconfig"
|
2020-09-10 22:24:25 +03:00
|
|
|
}
|
|
|
|
|
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
|
2021-04-11 07:06:49 +03:00
|
|
|
export ac_cv_iconv_omits_bom=no
|