-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeta.yaml
45 lines (39 loc) · 1.01 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{% set version = '1.6.1' %}
package:
name: dtc
version: {{ version }}
source:
fn: binutils-{{ version }}.tar.bz2
url: https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/dtc-{{ version }}.tar.gz
sha256: 6401c9a0f577a270df4632bf0f3e5454ccc7a5ca3caefa67a3e1c29c9c6b8c60
build:
# number: 201803050325
number: {{ environ.get('DATE_NUM') }}
# string: 20180305_0325
string: {{ environ.get('DATE_STR') }}
script_env:
- CI
- TRAVIS
requirements:
build:
- {{ compiler('c') }} [linux]
- clang [osx]
- bison
- flex
- make
- pkg-config
host:
# Python bindings
- python {{ python }}
- swig
run:
- python {{ python }}
test:
imports:
- libfdt
commands:
- dtc --help
about:
home: https://git.kernel.org/pub/scm/utils/dtc/dtc.git
license: GPL
summary: 'Device Tree Compiler (dtc) toolchain for working with device tree source and binary files and also libfdt, a utility library for reading and manipulating the binary format.'