This commit is contained in:
Max Howell 2022-08-02 07:43:12 -04:00 committed by GitHub
parent a92cd448b8
commit 4c173c0559
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,23 @@
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'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure --prefix={{prefix}}
make --jobs {{hw.concurrency}} install
test:
script:
git --version

View file

@ -19,3 +19,7 @@ build:
mkdir "{{ prefix }}/bin"
mv ninja "{{ prefix }}/bin"
working-directory: build-cmake
test:
script:
ninja --version