ladybird/Ports/git/package.sh
2021-05-10 17:44:18 +01:00

23 lines
705 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=git
version=2.31.1
useconfigure="true"
files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz 9f61417a44d5b954a5012b6f34e526a3336dcf5dd720e2bb7ada92ad8b3d6680"
auth_type=sha256
configopts="--target=${SERENITY_ARCH}-pc-serenity CFLAGS=-DNO_IPV6"
depends="zlib curl"
build() {
run make $makeopts
run make strip
}
post_install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon"
run cp "../default_gitconfig" "${SERENITY_INSTALL_ROOT}/home/anon/.gitconfig"
}
export NO_OPENSSL=1
export ac_cv_fread_reads_directories=no
export ac_cv_snprintf_returns_bogus=no
export ac_cv_iconv_omits_bom=no