mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
22 lines
439 B
YAML
22 lines
439 B
YAML
|
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
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
script: |
|
||
|
cc {{ pkg.pantry-prefix }}/test.c -o test -lmpdec
|
||
|
./test
|