1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:54:58 +00:00
serenity/Ports/git/package.sh
2021-01-22 17:44:05 +01:00

21 lines
560 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=git
version=2.26.0
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
}
post_install() {
mkdir -p "$SERENITY_ROOT"/Build/Root/home/anon
cp "$workdir"/../default_gitconfig "$SERENITY_ROOT"/Build/Root/home/anon/.gitconfig
}
export NO_OPENSSL=1
export ac_cv_fread_reads_directories=no
export ac_cv_snprintf_returns_bogus=no