diff options
Diffstat (limited to 'examples/recipes/zlib@1.3.yml')
-rw-r--r-- | examples/recipes/zlib@1.3.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/recipes/zlib@1.3.yml b/examples/recipes/zlib@1.3.yml index 0102e74..bd4e36c 100644 --- a/examples/recipes/zlib@1.3.yml +++ b/examples/recipes/zlib@1.3.yml @@ -1,10 +1,10 @@ tasks: unpack: fetch: - - name: '{{pn}}-{{pv}}.tar.gz' + - name: '{{basename}}-{{version}}.tar.gz' sha256: 'ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e' run: | - tar xf {{dldir}}/{{pn}}-{{pv}}.tar.gz + tar xf {{dldir}}/{{basename}}-{{version}}.tar.gz configure: args: @@ -18,9 +18,9 @@ tasks: - recipe: 'toolchain' task: 'depends' run: | - mkdir {{pn}}-build - cd {{pn}}-build - ../{{pn}}-{{pv}}/configure \ + mkdir {{basename}}-build + cd {{basename}}-build + ../{{basename}}-{{version}}/configure \ --prefix={{host.prefix}} find -name configure.log -delete @@ -30,7 +30,7 @@ tasks: inherit: task: 'configure' run: | - cd {{pn}}-build + cd {{basename}}-build make install: @@ -44,7 +44,7 @@ tasks: - recipe: 'toolchain' task: 'depends' run: | - cd {{pn}}-build + cd {{basename}}-build make DESTDIR={{destdir}} install rm {{destdir}}{{host.prefix}}/lib/*.a |