summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux/build.uapi-headers.yml
blob: ea398d3aea4e5b2579d73bbda6c5f2467ac2c625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
tasks:
  unpack:
    fetch:
      - name: '{{name}}-{{version}}.tar.xz'
        sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95'
    run: |
      tar xf {{dldir}}/{{name}}-{{version}}.tar.xz

  install:
    args:
      host: 'platform'
    inherit:
      task: 'unpack'
    output:
      default: {}
    run: |
      cd {{name}}-{{version}}
      make INSTALL_HDR_PATH={{destdir}}{{host.prefix}} ARCH={{host.karch}} headers_install