summaryrefslogtreecommitdiff
path: root/elements/core/libffi.bst
blob: ba9806198bb0fb33c0d60f9ba4da16b2de3ac155 (plain)
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
kind: autotools

depends:
- filename: gnu-toolchain.bst
  type: build
- filename: core/autoconf.bst
  type: build
- filename: core/automake.bst
  type: build
- filename: core/libtool-tarball.bst
  type: build
- filename: core/texinfo-tarball.bst
  type: build

sources:
- kind: git
  url: upstream:libffi
  track: v3.2.1
  ref: 20562ac0427c3578250d04c6e34fb0127d4551cf

config:
  install-commands:
  - make DESTDIR="%{install-root}"/ install
  - mkdir -p "%{install-root}"/usr/include
  - cp "$(sh ./config.guess)"/include/ffi.h "%{install-root}"/usr/include/
  - cp "$(sh ./config.guess)"/include/ffitarget.h "%{install-root}"/usr/include/