mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 00:30:48 +03:00
+portable git
This commit is contained in:
parent
c1a571a736
commit
6b32ec0d1e
5
projects/git-scm.org/config.mak
Normal file
5
projects/git-scm.org/config.mak
Normal file
|
@ -0,0 +1,5 @@
|
|||
RUNTIME_PREFIX = YesPlease
|
||||
RUNTIME_PREFIX_PERL = YesPlease
|
||||
|
||||
# must be set or the above are still abs paths
|
||||
gitexecdir=libexec/git-core
|
|
@ -16,14 +16,13 @@ build:
|
|||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
# installs to eg. libexec rather than libexec/git-core
|
||||
sed -i.bak 's|/git-core||g' config.mak.in
|
||||
cp {{pkg.pantry-prefix}}/config.mak .
|
||||
|
||||
./configure $CONF
|
||||
make install $BAKE
|
||||
|
||||
cd "{{prefix}}"
|
||||
DEBUG=1 fix-shebangs.ts bin/* libexec/*
|
||||
DEBUG=1 fix-shebangs.ts bin/* libexec/git-core/*
|
||||
env:
|
||||
V: 1
|
||||
BAKE:
|
||||
|
@ -32,5 +31,7 @@ build:
|
|||
CONF:
|
||||
- --prefix={{prefix}}
|
||||
- --with-perl=/opt/perl.org/v*/bin/perl
|
||||
INSTALL_STRIP: -s
|
||||
|
||||
test: git --version #FIXME better
|
||||
test: |
|
||||
git clone https://github.com/teaxyz/white-paper
|
||||
|
|
|
@ -59,7 +59,6 @@ export default async function build({ pkg, deps, prebuild, env: add_env }: Optio
|
|||
|
||||
${/*FIXME hardcoded paths*/ ''}
|
||||
export PATH=/opt/tea.xyz/var/pantry/scripts/brewkit:"$PATH"
|
||||
export PATH=/opt/tea.xyz/v0/bin:"$PATH"
|
||||
|
||||
${sh}
|
||||
`
|
||||
|
|
Loading…
Reference in a new issue