2022-08-02 14:43:12 +03:00
|
|
|
distributable:
|
2022-10-31 15:07:18 +03:00
|
|
|
url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-{{version}}.tar.xz
|
2022-08-02 14:43:12 +03:00
|
|
|
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-29 21:14:58 +03:00
|
|
|
mv props/config.mak .
|
2022-09-13 16:18:47 +03:00
|
|
|
|
|
|
|
./configure $CONF
|
|
|
|
make install $BAKE
|
|
|
|
|
|
|
|
cd "{{prefix}}"
|
2022-09-17 15:32:50 +03:00
|
|
|
DEBUG=1 fix-shebangs.ts bin/* libexec/git-core/*
|
2022-10-29 15:18:52 +03:00
|
|
|
|
|
|
|
mkdir etc
|
|
|
|
cp "$SRCROOT"/props/git* etc
|
2022-09-02 18:00:33 +03:00
|
|
|
env:
|
|
|
|
V: 1
|
2022-09-13 16:18:47 +03:00
|
|
|
BAKE:
|
2022-09-29 21:14:58 +03:00
|
|
|
- --jobs {{ hw.concurrency }}
|
2022-09-02 18:00:33 +03:00
|
|
|
- NO_TCLTK=1
|
2022-09-13 16:18:47 +03:00
|
|
|
CONF:
|
2022-09-29 21:14:58 +03:00
|
|
|
- --prefix={{ prefix }}
|
|
|
|
- --with-perl={{ deps.perl.org.prefix }}
|
2022-10-29 15:18:52 +03:00
|
|
|
- --with-gitconfig=etc/gitconfig
|
2022-09-17 15:32:50 +03:00
|
|
|
INSTALL_STRIP: -s
|
2022-08-02 14:43:12 +03:00
|
|
|
|
2022-09-17 15:32:50 +03:00
|
|
|
test: |
|
|
|
|
git clone https://github.com/teaxyz/white-paper
|
2022-10-29 15:18:52 +03:00
|
|
|
|
|
|
|
mkdir foo
|
|
|
|
cd foo
|
|
|
|
touch .DS_Store testfile
|
|
|
|
git init
|
|
|
|
git add .
|
|
|
|
test "$(git diff --name-only --cached)" = "testfile"
|
2022-11-18 21:43:48 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/git
|
|
|
|
- bin/git-cvsserver
|
|
|
|
- bin/git-receive-pack
|
|
|
|
- bin/git-shell
|
|
|
|
- bin/git-upload-archive
|
|
|
|
- bin/git-upload-pack
|
|
|
|
- bin/scalar
|