2022-09-07 17:33:57 +03:00
|
|
|
distributable:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/libtool/libtool-{{ version }}.tar.gz
|
2022-09-07 17:33:57 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/libtool/
|
|
|
|
match: /libtool-(\d+\.\d+\.\d+)\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /libtool-/
|
|
|
|
- /.tar.gz/
|
2022-09-07 17:33:57 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/libtool
|
|
|
|
- bin/libtoolize
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/autoconf: ^2.65.0
|
|
|
|
gnu.org/m4: 1
|
|
|
|
script: |-
|
|
|
|
./configure --prefix={{ prefix }}
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
2022-11-11 14:51:41 +03:00
|
|
|
|
|
|
|
cd {{prefix}}/bin
|
|
|
|
|
2022-10-21 04:57:26 +03:00
|
|
|
sed -i.bak \
|
|
|
|
-e 's_prefix="{{prefix}}"_prefix="$(dirname $(dirname $0))"_' \
|
|
|
|
-e 's_{{prefix}}_$prefix_' \
|
2022-11-11 14:51:41 +03:00
|
|
|
libtoolize
|
|
|
|
rm libtoolize.bak
|
|
|
|
|
2022-11-24 15:33:49 +03:00
|
|
|
# often expected aliases
|
2022-11-11 14:51:41 +03:00
|
|
|
ln -s libtoolize glibtoolize
|
2022-11-24 15:33:49 +03:00
|
|
|
ln -s libtool glibtool
|
2022-09-07 17:33:57 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
script: |
|
|
|
|
libtoolize
|
|
|
|
test -f ltmain.sh
|