pantry/projects/bytereef.org/mpdecimal/package.yml

23 lines
462 B
YAML
Raw Normal View History

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:
- 2.5.1
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
2022-08-31 21:05:21 +03:00
rm -rf {{prefix}}/share # docs are online
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