2022-08-17 20:35:41 +03:00
|
|
|
distributable:
|
|
|
|
url: http://ftp.gnu.org/gnu/autoconf/autoconf-{{ version.raw }}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
- 2.71
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/autoconf
|
|
|
|
- bin/autoheader
|
|
|
|
- bin/autom4te
|
|
|
|
- bin/autoreconf
|
|
|
|
- bin/autoscan
|
|
|
|
- bin/autoupdate
|
|
|
|
- bin/ifnames
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
gnu.org/m4: 1
|
2022-08-23 00:33:05 +03:00
|
|
|
perl.org: '*'
|
2022-08-17 20:35:41 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
2022-09-18 19:01:10 +03:00
|
|
|
git-scm.org: 2
|
2022-08-17 20:35:41 +03:00
|
|
|
script: |-
|
|
|
|
./configure \
|
|
|
|
--build={{ hw.target }} \
|
|
|
|
--prefix="{{ prefix }}"
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
2022-09-25 15:41:58 +03:00
|
|
|
cd "{{prefix}}"
|
2022-09-18 19:01:10 +03:00
|
|
|
|
2022-09-25 15:41:58 +03:00
|
|
|
fix-shebangs.ts bin/*
|
2022-09-18 19:01:10 +03:00
|
|
|
|
2022-09-25 15:41:58 +03:00
|
|
|
perl -pi -e 's|\x27{{prefix}}|"\$PREFIX"\x27|g' bin/autoconf
|
2022-09-18 19:01:10 +03:00
|
|
|
|
|
|
|
# fix specific m4 and perl paths
|
2022-09-25 15:41:58 +03:00
|
|
|
perl -pi -e 's|{{ deps.perl.org.prefix }}/bin/perl|perl|g' bin/*
|
|
|
|
perl -pi -e 's|{{ deps.gnu.org/m4.prefix }}/bin/m4|m4|g' bin/*
|
2022-09-18 19:01:10 +03:00
|
|
|
|
|
|
|
# fix hardcoded paths
|
2022-09-25 15:41:58 +03:00
|
|
|
perl -pi -e "s|'{{prefix}}/|\\\$prefix.'/|" bin/*
|
|
|
|
git apply $SRCROOT/props/relocatable.diff
|
2022-09-18 19:01:10 +03:00
|
|
|
|
2022-09-25 15:41:58 +03:00
|
|
|
perl -pi -e 's|{{prefix}}|\$PREFIX|' share/autoconf/autom4te.cfg
|
2022-09-18 19:01:10 +03:00
|
|
|
|
2022-09-01 01:02:46 +03:00
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
2022-09-18 19:01:10 +03:00
|
|
|
autoconf --verbose --debug
|
2022-09-01 01:02:46 +03:00
|
|
|
./configure
|
|
|
|
test -f config.status
|
|
|
|
test -f config.log
|