2022-08-02 14:43:12 +03:00
|
|
|
distributable:
|
|
|
|
url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-{{ version }}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: git/git/tags
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
zlib.net: 1
|
|
|
|
gnu.org/gettext: ^0.21
|
|
|
|
curl.se: '>=5'
|
2022-09-13 16:18:47 +03:00
|
|
|
perl.org: '*'
|
2022-08-02 14:43:12 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
script: |
|
2022-09-13 16:18:47 +03:00
|
|
|
# installs to eg. libexec rather than libexec/git-core
|
|
|
|
sed -i.bak 's|/git-core||g' config.mak.in
|
|
|
|
|
|
|
|
./configure $CONF
|
|
|
|
make install $BAKE
|
|
|
|
|
|
|
|
cd "{{prefix}}"
|
|
|
|
DEBUG=1 fix-shebangs.ts bin/* libexec/*
|
2022-09-02 18:00:33 +03:00
|
|
|
env:
|
|
|
|
V: 1
|
2022-09-13 16:18:47 +03:00
|
|
|
BAKE:
|
|
|
|
- --jobs {{hw.concurrency}}
|
2022-09-02 18:00:33 +03:00
|
|
|
- NO_TCLTK=1
|
2022-09-13 16:18:47 +03:00
|
|
|
CONF:
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
- --with-perl=/opt/perl.org/v*/bin/perl
|
2022-08-02 14:43:12 +03:00
|
|
|
|
2022-09-02 18:00:33 +03:00
|
|
|
test: git --version #FIXME better
|