2022-08-03 01:24:06 +03:00
|
|
|
distributable:
|
|
|
|
url: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://www.bytereef.org/mpdecimal/download.html
|
|
|
|
match: /mpdecimal-\d+\.\d+\.\d+\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /mpdecimal-/
|
|
|
|
- /.tar.gz/
|
2022-08-03 01:24:06 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{ prefix }}
|
2022-10-26 04:55:49 +03:00
|
|
|
make --jobs {{hw.concurrency}} install
|
2022-08-31 21:05:21 +03:00
|
|
|
rm -rf {{prefix}}/share # docs are online
|
2023-04-14 07:57:31 +03:00
|
|
|
env:
|
|
|
|
darwin:
|
|
|
|
# fixes a ruby-machos error
|
|
|
|
LDFLAGS: -headerpad_max_install_names $LDFLAGS
|
|
|
|
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
|
2022-08-03 01:24:06 +03:00
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
2022-08-31 21:05:21 +03:00
|
|
|
cc test.c -o test -lmpdec
|
2022-08-03 01:24:06 +03:00
|
|
|
./test
|