mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
04a96fd3d3
* Revert "fix(xorg/protocol)" This reverts commit2c5953be32
. * Revert "fix(openvpn)" This reverts commitd56ab8d1ef
. * Revert "fix(x11)" This reverts commitc9bf2cd5cd
. * Revert "fix(libmd)[1]" This reverts commitb36124ab90
. * partial revert of `fix(libmd)` * partial revert of `fix(automake)`
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/automake/automake-{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/automake/
|
|
match: /automake-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
strip:
|
|
- /automake-/
|
|
- /.tar.gz/
|
|
|
|
provides:
|
|
- bin/aclocal
|
|
- bin/automake
|
|
|
|
dependencies:
|
|
gnu.org/autoconf: ^2.65.0
|
|
perl.org: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
gnu.org/patch: '*'
|
|
script: |-
|
|
./configure \
|
|
--build={{ hw.target }} \
|
|
--prefix="{{ prefix }}"
|
|
make -j {{ hw.concurrency }} install
|
|
|
|
cd "{{prefix}}"
|
|
|
|
# fix hardcoded paths
|
|
perl -pi -e "s|'{{prefix}}/|\\\$prefix.'/|" bin/* share/automake-{{version.marketing}}/Automake/Config.pm
|
|
patch -p1 <"$SRCROOT"/props/relocatable.diff
|
|
ln -sf aclocal bin/aclocal-{{version.marketing}}
|
|
ln -sf automake bin/automake-{{version.marketing}}
|
|
|
|
fix-shebangs.ts bin/*
|
|
env:
|
|
PERL5LIB: "{{prefix}}/share/automake-{{version.marketing}}"
|
|
|
|
# TODO to prove automake doesn't require autoconf we should
|
|
# use “depend” on the autoconf test to generate our `configure` separately
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
aclocal
|
|
automake --add-missing --foreign
|
|
autoconf
|
|
./configure
|
|
make
|
|
./test
|