File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -xe
3+
4+ export LDFLAGS=" ${LDFLAGS} -L${PREFIX} /lib"
5+ export CPPFLAGS=" ${CPPFLAGS} -I${PREFIX} /include"
6+ export CFLAGS=" ${CFLAGS} -O3 -Wno-implicit-function-declaration"
7+
8+ cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
9+
10+ # build statically linked binary with Rust
11+ RUST_BACKTRACE=1 cargo install --locked --no-track --verbose --path . --root " ${PREFIX} "
Original file line number Diff line number Diff line change 1+ {% set name = "chaintools" %}
2+ {% set version = "0.0.2" %}
3+
4+ package :
5+ name : {{ name }}
6+ version : {{ version }}
7+
8+ source :
9+ url : https://github.com/alejandrogzi/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
10+ sha256 : d1a43ec65fb2d593919e517bf2b9da5855b272a115d68bcdf37dd1ddadcaf493
11+
12+ build :
13+ number : 0
14+ run_exports :
15+ - {{ pin_subpackage(name, max_pin="x.x") }}
16+
17+ requirements :
18+ build :
19+ - {{ compiler("cxx") }}
20+ - {{ compiler("rust") }}
21+ - cargo-bundle-licenses
22+ - cmake
23+ - make
24+ - pkg-config
25+
26+ test :
27+ commands :
28+ - chaintools --help
29+ - chaintools --version
30+
31+ about :
32+ home : " https://github.com/alejandrogzi/chaintools"
33+ license : " Apache-2.0"
34+ license_family : APACHE
35+ license_file :
36+ - LICENSE
37+ - THIRDPARTY.yml
38+ summary : " work with .chain files in rust"
39+ dev_url : " https://github.com/alejandrogzi/chaintools"
40+
41+ extra :
42+ additional-platforms :
43+ - linux-aarch64
44+ - osx-arm64
45+ recipe-maintainers :
46+ - alejandrogzi
47+ skip-lints :
48+ - compiler_needs_stdlib_c
You can’t perform that action at this time.
0 commit comments