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

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