2021-01-23 05:44:05 +13:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2020-02-20 07:07:33 +01:00
|
|
|
port=git
|
2021-04-16 17:38:54 +02:00
|
|
|
version=2.31.1
|
2020-02-20 07:07:33 +01:00
|
|
|
useconfigure="true"
|
2021-04-25 12:20:15 +02:00
|
|
|
files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz 9f61417a44d5b954a5012b6f34e526a3336dcf5dd720e2bb7ada92ad8b3d6680"
|
|
|
|
auth_type=sha256
|
2021-03-11 21:58:18 +01:00
|
|
|
configopts="--target=${SERENITY_ARCH}-pc-serenity CFLAGS=-DNO_IPV6"
|
2021-05-10 15:14:15 +02:00
|
|
|
depends="zlib curl"
|
2020-02-20 07:07:33 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
run make $makeopts
|
|
|
|
run make strip
|
|
|
|
}
|
|
|
|
|
2020-09-10 22:24:25 +03:00
|
|
|
post_install() {
|
2021-04-20 18:42:04 +03:00
|
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon"
|
|
|
|
run cp "../default_gitconfig" "${SERENITY_INSTALL_ROOT}/home/anon/.gitconfig"
|
2020-09-10 22:24:25 +03:00
|
|
|
}
|
|
|
|
|
2020-02-20 07:07:33 +01:00
|
|
|
export NO_OPENSSL=1
|
|
|
|
export ac_cv_fread_reads_directories=no
|
|
|
|
export ac_cv_snprintf_returns_bogus=no
|
2021-04-11 06:06:49 +02:00
|
|
|
export ac_cv_iconv_omits_bom=no
|