summaryrefslogtreecommitdiff
path: root/elements/core/libffi.bst
blob: a224395ba866f1d5ec32ed0aa537cac6aa4c87f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
kind: autotools
depends:
- gnu-toolchain.bst
- core/autoconf.bst
- core/automake.bst
- core/libtool-tarball.bst
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/