summaryrefslogtreecommitdiffstats
path: root/examples/recipes/e2fsprogs/build.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-06 00:19:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-06 00:24:45 +0200
commita488b37a22b72bdcd7b58102387fea98b82918e1 (patch)
treed1925f43070f25eb49b0181fd123b8f950a2f4b2 /examples/recipes/e2fsprogs/build.yml
parent631b45f565bf6160734941e0b7ad69e68a520b0e (diff)
downloadrebel-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/e2fsprogs/build.yml')
-rw-r--r--examples/recipes/e2fsprogs/build.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/recipes/e2fsprogs/build.yml b/examples/recipes/e2fsprogs/build.yml
index 5c916dc..e1fc0e0 100644
--- a/examples/recipes/e2fsprogs/build.yml
+++ b/examples/recipes/e2fsprogs/build.yml
@@ -3,10 +3,10 @@ meta:
tasks:
unpack:
fetch:
- - name: '{{basename}}-{{version}}.tar.xz'
+ - name: '{{name}}-{{version}}.tar.xz'
sha256: '144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db'
run: |
- tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
+ tar xf {{dldir}}/{{name}}-{{version}}.tar.xz
configure:
args:
@@ -20,9 +20,9 @@ tasks:
- recipe: 'toolchain'
task: 'depends'
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}}
@@ -34,7 +34,7 @@ tasks:
inherit:
task: 'configure'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make
find -name config.log -delete
@@ -49,6 +49,6 @@ tasks:
- recipe: 'toolchain'
task: 'depends'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make DESTDIR={{destdir}} install