diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-06 00:19:09 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-06 00:24:45 +0200 |
commit | a488b37a22b72bdcd7b58102387fea98b82918e1 (patch) | |
tree | d1925f43070f25eb49b0181fd123b8f950a2f4b2 /examples/recipes/mpfr/build.yml | |
parent | 631b45f565bf6160734941e0b7ad69e68a520b0e (diff) | |
download | rebel-a488b37a22b72bdcd7b58102387fea98b82918e1.tar rebel-a488b37a22b72bdcd7b58102387fea98b82918e1.zip |
examples: use {{name}} instead of {{basename}}
{{name}} is usually the better choice for references in the scripts, as
it can be overridden.
Diffstat (limited to 'examples/recipes/mpfr/build.yml')
-rw-r--r-- | examples/recipes/mpfr/build.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/recipes/mpfr/build.yml b/examples/recipes/mpfr/build.yml index 2c87912..b77cf81 100644 --- a/examples/recipes/mpfr/build.yml +++ b/examples/recipes/mpfr/build.yml @@ -3,10 +3,10 @@ meta: tasks: unpack: fetch: - - name: '{{basename}}-{{version}}.tar.xz' + - name: '{{name}}-{{version}}.tar.xz' sha256: '277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2' run: | - tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz + tar xf {{dldir}}/{{name}}-{{version}}.tar.xz configure: args: @@ -22,9 +22,9 @@ tasks: - recipe: 'gmp' task: 'install' run: | - mkdir {{basename}}-build - cd {{basename}}-build - ../{{basename}}-{{version}}/configure \ + mkdir {{name}}-build + cd {{name}}-build + ../{{name}}-{{version}}/configure \ --build={{build.gnu_triplet}} \ --host={{host.gnu_triplet}} \ --prefix={{host.prefix}} @@ -36,7 +36,7 @@ tasks: inherit: task: 'configure' run: | - cd {{basename}}-build + cd {{name}}-build make install: @@ -52,7 +52,7 @@ tasks: - recipe: 'gmp' task: 'install' run: | - cd {{basename}}-build + cd {{name}}-build make DESTDIR={{destdir}} install rm {{destdir}}{{host.prefix}}/lib/*.a rm {{destdir}}{{host.prefix}}/lib/*.la |