mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
33 lines
684 B
YAML
33 lines
684 B
YAML
distributable:
|
|
url: https://boostorg.jfrog.io/artifactory/main/release/{{ version }}/source/boost_{{version.major}}_{{version.minor}}_{{version.patch}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: boostorg/boost
|
|
strip: /^boost-/
|
|
|
|
dependencies:
|
|
facebook.com/zstd: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./bootstrap.sh --prefix={{ prefix }}
|
|
./b2 $ARGS
|
|
env:
|
|
ARGS:
|
|
- install
|
|
- --prefix={{ prefix }}
|
|
linux/x86-64:
|
|
ARGS:
|
|
- cxxflags=-fPIC
|
|
- linkflags=-fPIC
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
c++ test.cpp -std=c++14 -lboost_iostreams -lzstd
|
|
./a.out
|