mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
31 lines
765 B
YAML
31 lines
765 B
YAML
distributable:
|
|
url: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://www.bytereef.org/mpdecimal/download.html
|
|
match: /mpdecimal-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /mpdecimal-/
|
|
- /.tar.gz/
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure --prefix={{ prefix }}
|
|
make --jobs {{hw.concurrency}}
|
|
make install
|
|
rm -rf {{prefix}}/share # docs are online
|
|
env:
|
|
darwin:
|
|
# fixes a ruby-machos error
|
|
LDFLAGS: -headerpad_max_install_names $LDFLAGS
|
|
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
cc test.c -o test -lmpdec
|
|
./test
|